AWS SDK for C++  1.9.160
AWS SDK for C++
UpdateResourceShareResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ram/RAM_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace RAM
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
39  inline const ResourceShare& GetResourceShare() const{ return m_resourceShare; }
40 
44  inline void SetResourceShare(const ResourceShare& value) { m_resourceShare = value; }
45 
49  inline void SetResourceShare(ResourceShare&& value) { m_resourceShare = std::move(value); }
50 
54  inline UpdateResourceShareResult& WithResourceShare(const ResourceShare& value) { SetResourceShare(value); return *this;}
55 
59  inline UpdateResourceShareResult& WithResourceShare(ResourceShare&& value) { SetResourceShare(std::move(value)); return *this;}
60 
61 
69  inline const Aws::String& GetClientToken() const{ return m_clientToken; }
70 
78  inline void SetClientToken(const Aws::String& value) { m_clientToken = value; }
79 
87  inline void SetClientToken(Aws::String&& value) { m_clientToken = std::move(value); }
88 
96  inline void SetClientToken(const char* value) { m_clientToken.assign(value); }
97 
105  inline UpdateResourceShareResult& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
106 
114  inline UpdateResourceShareResult& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
115 
123  inline UpdateResourceShareResult& WithClientToken(const char* value) { SetClientToken(value); return *this;}
124 
125  private:
126 
127  ResourceShare m_resourceShare;
128 
129  Aws::String m_clientToken;
130  };
131 
132 } // namespace Model
133 } // namespace RAM
134 } // namespace Aws
Aws::RAM::Model::UpdateResourceShareResult::WithResourceShare
UpdateResourceShareResult & WithResourceShare(const ResourceShare &value)
Definition: UpdateResourceShareResult.h:54
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::RAM::Model::UpdateResourceShareResult::SetClientToken
void SetClientToken(const Aws::String &value)
Definition: UpdateResourceShareResult.h:78
Aws::RAM::Model::UpdateResourceShareResult::operator=
UpdateResourceShareResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ResourceShare.h
Aws::RAM::Model::UpdateResourceShareResult::WithClientToken
UpdateResourceShareResult & WithClientToken(Aws::String &&value)
Definition: UpdateResourceShareResult.h:114
Aws::RAM::Model::UpdateResourceShareResult::SetResourceShare
void SetResourceShare(ResourceShare &&value)
Definition: UpdateResourceShareResult.h:49
Aws::RAM::Model::UpdateResourceShareResult::WithClientToken
UpdateResourceShareResult & WithClientToken(const Aws::String &value)
Definition: UpdateResourceShareResult.h:105
Aws::RAM::Model::UpdateResourceShareResult::WithResourceShare
UpdateResourceShareResult & WithResourceShare(ResourceShare &&value)
Definition: UpdateResourceShareResult.h:59
Aws::RAM::Model::UpdateResourceShareResult::GetClientToken
const Aws::String & GetClientToken() const
Definition: UpdateResourceShareResult.h:69
Aws::RAM::Model::UpdateResourceShareResult::UpdateResourceShareResult
UpdateResourceShareResult()
Aws::RAM::Model::UpdateResourceShareResult::SetClientToken
void SetClientToken(Aws::String &&value)
Definition: UpdateResourceShareResult.h:87
AWSString.h
RAM_EXPORTS.h
Aws::RAM::Model::ResourceShare
Definition: ResourceShare.h:37
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::RAM::Model::UpdateResourceShareResult::UpdateResourceShareResult
UpdateResourceShareResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::RAM::Model::UpdateResourceShareResult::SetClientToken
void SetClientToken(const char *value)
Definition: UpdateResourceShareResult.h:96
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RAM::Model::UpdateResourceShareResult::SetResourceShare
void SetResourceShare(const ResourceShare &value)
Definition: UpdateResourceShareResult.h:44
Aws::RAM::Model::UpdateResourceShareResult::WithClientToken
UpdateResourceShareResult & WithClientToken(const char *value)
Definition: UpdateResourceShareResult.h:123
Aws::RAM::Model::UpdateResourceShareResult
Definition: UpdateResourceShareResult.h:29
Aws::RAM::Model::UpdateResourceShareResult::GetResourceShare
const ResourceShare & GetResourceShare() const
Definition: UpdateResourceShareResult.h:39