AWS SDK for C++  1.9.160
AWS SDK for C++
AssociateResourceSharePermissionResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ram/RAM_EXPORTS.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 RAM
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
39  inline bool GetReturnValue() const{ return m_returnValue; }
40 
45  inline void SetReturnValue(bool value) { m_returnValue = value; }
46 
51  inline AssociateResourceSharePermissionResult& WithReturnValue(bool value) { SetReturnValue(value); return *this;}
52 
53 
61  inline const Aws::String& GetClientToken() const{ return m_clientToken; }
62 
70  inline void SetClientToken(const Aws::String& value) { m_clientToken = value; }
71 
79  inline void SetClientToken(Aws::String&& value) { m_clientToken = std::move(value); }
80 
88  inline void SetClientToken(const char* value) { m_clientToken.assign(value); }
89 
97  inline AssociateResourceSharePermissionResult& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
98 
106  inline AssociateResourceSharePermissionResult& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
107 
115  inline AssociateResourceSharePermissionResult& WithClientToken(const char* value) { SetClientToken(value); return *this;}
116 
117  private:
118 
119  bool m_returnValue;
120 
121  Aws::String m_clientToken;
122  };
123 
124 } // namespace Model
125 } // namespace RAM
126 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::RAM::Model::AssociateResourceSharePermissionResult::AssociateResourceSharePermissionResult
AssociateResourceSharePermissionResult()
Aws::RAM::Model::AssociateResourceSharePermissionResult::SetClientToken
void SetClientToken(Aws::String &&value)
Definition: AssociateResourceSharePermissionResult.h:79
Aws::RAM::Model::AssociateResourceSharePermissionResult::AssociateResourceSharePermissionResult
AssociateResourceSharePermissionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::RAM::Model::AssociateResourceSharePermissionResult::WithClientToken
AssociateResourceSharePermissionResult & WithClientToken(Aws::String &&value)
Definition: AssociateResourceSharePermissionResult.h:106
Aws::RAM::Model::AssociateResourceSharePermissionResult::WithClientToken
AssociateResourceSharePermissionResult & WithClientToken(const char *value)
Definition: AssociateResourceSharePermissionResult.h:115
Aws::RAM::Model::AssociateResourceSharePermissionResult::SetClientToken
void SetClientToken(const char *value)
Definition: AssociateResourceSharePermissionResult.h:88
Aws::RAM::Model::AssociateResourceSharePermissionResult::GetClientToken
const Aws::String & GetClientToken() const
Definition: AssociateResourceSharePermissionResult.h:61
AWSString.h
RAM_EXPORTS.h
Aws::RAM::Model::AssociateResourceSharePermissionResult::SetReturnValue
void SetReturnValue(bool value)
Definition: AssociateResourceSharePermissionResult.h:45
Aws::RAM::Model::AssociateResourceSharePermissionResult::GetReturnValue
bool GetReturnValue() const
Definition: AssociateResourceSharePermissionResult.h:39
Aws::RAM::Model::AssociateResourceSharePermissionResult::operator=
AssociateResourceSharePermissionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::RAM::Model::AssociateResourceSharePermissionResult::WithClientToken
AssociateResourceSharePermissionResult & WithClientToken(const Aws::String &value)
Definition: AssociateResourceSharePermissionResult.h:97
Aws::RAM::Model::AssociateResourceSharePermissionResult::WithReturnValue
AssociateResourceSharePermissionResult & WithReturnValue(bool value)
Definition: AssociateResourceSharePermissionResult.h:51
AWS_RAM_API
#define AWS_RAM_API
Definition: RAM_EXPORTS.h:28
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RAM::Model::AssociateResourceSharePermissionResult
Definition: AssociateResourceSharePermissionResult.h:28
Aws::RAM::Model::AssociateResourceSharePermissionResult::SetClientToken
void SetClientToken(const Aws::String &value)
Definition: AssociateResourceSharePermissionResult.h:70