1 /**
2  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  * SPDX-License-Identifier: Apache-2.0.
4  */
5 
6 #pragma once
7 #include <aws/chime/Chime_EXPORTS.h>
8 #include <aws/chime/model/Bot.h>
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20   class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace Chime
24 {
25 namespace Model
26 {
27   class AWS_CHIME_API RegenerateSecurityTokenResult
28   {
29   public:
30     RegenerateSecurityTokenResult();
31     RegenerateSecurityTokenResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
32     RegenerateSecurityTokenResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
33 
34 
35 
GetBot()36     inline const Bot& GetBot() const{ return m_bot; }
37 
38 
SetBot(const Bot & value)39     inline void SetBot(const Bot& value) { m_bot = value; }
40 
41 
SetBot(Bot && value)42     inline void SetBot(Bot&& value) { m_bot = std::move(value); }
43 
44 
WithBot(const Bot & value)45     inline RegenerateSecurityTokenResult& WithBot(const Bot& value) { SetBot(value); return *this;}
46 
47 
WithBot(Bot && value)48     inline RegenerateSecurityTokenResult& WithBot(Bot&& value) { SetBot(std::move(value)); return *this;}
49 
50   private:
51 
52     Bot m_bot;
53   };
54 
55 } // namespace Model
56 } // namespace Chime
57 } // namespace Aws
58