AWS SDK for C++  1.9.161
AWS SDK for C++
CreateAccessPolicyResult.h
Go to the documentation of this file.
1 
6 #pragma once
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 IoTSiteWise
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const Aws::String& GetAccessPolicyId() const{ return m_accessPolicyId; }
39 
43  inline void SetAccessPolicyId(const Aws::String& value) { m_accessPolicyId = value; }
44 
48  inline void SetAccessPolicyId(Aws::String&& value) { m_accessPolicyId = std::move(value); }
49 
53  inline void SetAccessPolicyId(const char* value) { m_accessPolicyId.assign(value); }
54 
58  inline CreateAccessPolicyResult& WithAccessPolicyId(const Aws::String& value) { SetAccessPolicyId(value); return *this;}
59 
63  inline CreateAccessPolicyResult& WithAccessPolicyId(Aws::String&& value) { SetAccessPolicyId(std::move(value)); return *this;}
64 
68  inline CreateAccessPolicyResult& WithAccessPolicyId(const char* value) { SetAccessPolicyId(value); return *this;}
69 
70 
78  inline const Aws::String& GetAccessPolicyArn() const{ return m_accessPolicyArn; }
79 
87  inline void SetAccessPolicyArn(const Aws::String& value) { m_accessPolicyArn = value; }
88 
96  inline void SetAccessPolicyArn(Aws::String&& value) { m_accessPolicyArn = std::move(value); }
97 
105  inline void SetAccessPolicyArn(const char* value) { m_accessPolicyArn.assign(value); }
106 
114  inline CreateAccessPolicyResult& WithAccessPolicyArn(const Aws::String& value) { SetAccessPolicyArn(value); return *this;}
115 
123  inline CreateAccessPolicyResult& WithAccessPolicyArn(Aws::String&& value) { SetAccessPolicyArn(std::move(value)); return *this;}
124 
132  inline CreateAccessPolicyResult& WithAccessPolicyArn(const char* value) { SetAccessPolicyArn(value); return *this;}
133 
134  private:
135 
136  Aws::String m_accessPolicyId;
137 
138  Aws::String m_accessPolicyArn;
139  };
140 
141 } // namespace Model
142 } // namespace IoTSiteWise
143 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoTSiteWise::Model::CreateAccessPolicyResult::SetAccessPolicyArn
void SetAccessPolicyArn(const Aws::String &value)
Definition: CreateAccessPolicyResult.h:87
Aws::IoTSiteWise::Model::CreateAccessPolicyResult
Definition: CreateAccessPolicyResult.h:28
IoTSiteWise_EXPORTS.h
AWS_IOTSITEWISE_API
#define AWS_IOTSITEWISE_API
Definition: IoTSiteWise_EXPORTS.h:28
Aws::IoTSiteWise::Model::CreateAccessPolicyResult::CreateAccessPolicyResult
CreateAccessPolicyResult()
Aws::IoTSiteWise::Model::CreateAccessPolicyResult::CreateAccessPolicyResult
CreateAccessPolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoTSiteWise::Model::CreateAccessPolicyResult::SetAccessPolicyArn
void SetAccessPolicyArn(const char *value)
Definition: CreateAccessPolicyResult.h:105
Aws::IoTSiteWise::Model::CreateAccessPolicyResult::WithAccessPolicyArn
CreateAccessPolicyResult & WithAccessPolicyArn(const Aws::String &value)
Definition: CreateAccessPolicyResult.h:114
Aws::IoTSiteWise::Model::CreateAccessPolicyResult::WithAccessPolicyArn
CreateAccessPolicyResult & WithAccessPolicyArn(const char *value)
Definition: CreateAccessPolicyResult.h:132
Aws::IoTSiteWise::Model::CreateAccessPolicyResult::WithAccessPolicyId
CreateAccessPolicyResult & WithAccessPolicyId(const Aws::String &value)
Definition: CreateAccessPolicyResult.h:58
Aws::IoTSiteWise::Model::CreateAccessPolicyResult::GetAccessPolicyArn
const Aws::String & GetAccessPolicyArn() const
Definition: CreateAccessPolicyResult.h:78
Aws::IoTSiteWise::Model::CreateAccessPolicyResult::WithAccessPolicyArn
CreateAccessPolicyResult & WithAccessPolicyArn(Aws::String &&value)
Definition: CreateAccessPolicyResult.h:123
AWSString.h
Aws::IoTSiteWise::Model::CreateAccessPolicyResult::WithAccessPolicyId
CreateAccessPolicyResult & WithAccessPolicyId(Aws::String &&value)
Definition: CreateAccessPolicyResult.h:63
Aws::IoTSiteWise::Model::CreateAccessPolicyResult::SetAccessPolicyId
void SetAccessPolicyId(Aws::String &&value)
Definition: CreateAccessPolicyResult.h:48
Aws::IoTSiteWise::Model::CreateAccessPolicyResult::SetAccessPolicyId
void SetAccessPolicyId(const Aws::String &value)
Definition: CreateAccessPolicyResult.h:43
Aws::IoTSiteWise::Model::CreateAccessPolicyResult::WithAccessPolicyId
CreateAccessPolicyResult & WithAccessPolicyId(const char *value)
Definition: CreateAccessPolicyResult.h:68
Aws::IoTSiteWise::Model::CreateAccessPolicyResult::SetAccessPolicyId
void SetAccessPolicyId(const char *value)
Definition: CreateAccessPolicyResult.h:53
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::IoTSiteWise::Model::CreateAccessPolicyResult::SetAccessPolicyArn
void SetAccessPolicyArn(Aws::String &&value)
Definition: CreateAccessPolicyResult.h:96
Aws::IoTSiteWise::Model::CreateAccessPolicyResult::operator=
CreateAccessPolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoTSiteWise::Model::CreateAccessPolicyResult::GetAccessPolicyId
const Aws::String & GetAccessPolicyId() const
Definition: CreateAccessPolicyResult.h:38