AWS SDK for C++  1.9.157
AWS SDK for C++
CreateAccessPreviewResult.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 AccessAnalyzer
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const Aws::String& GetId() const{ return m_id; }
39 
43  inline void SetId(const Aws::String& value) { m_id = value; }
44 
48  inline void SetId(Aws::String&& value) { m_id = std::move(value); }
49 
53  inline void SetId(const char* value) { m_id.assign(value); }
54 
58  inline CreateAccessPreviewResult& WithId(const Aws::String& value) { SetId(value); return *this;}
59 
63  inline CreateAccessPreviewResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
64 
68  inline CreateAccessPreviewResult& WithId(const char* value) { SetId(value); return *this;}
69 
70  private:
71 
72  Aws::String m_id;
73  };
74 
75 } // namespace Model
76 } // namespace AccessAnalyzer
77 } // namespace Aws
Aws::AccessAnalyzer::Model::CreateAccessPreviewResult::operator=
CreateAccessPreviewResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
AccessAnalyzer_EXPORTS.h
Aws::AccessAnalyzer::Model::CreateAccessPreviewResult::WithId
CreateAccessPreviewResult & WithId(const Aws::String &value)
Definition: CreateAccessPreviewResult.h:58
Aws::AccessAnalyzer::Model::CreateAccessPreviewResult::SetId
void SetId(Aws::String &&value)
Definition: CreateAccessPreviewResult.h:48
Aws::AccessAnalyzer::Model::CreateAccessPreviewResult::CreateAccessPreviewResult
CreateAccessPreviewResult()
Aws::AccessAnalyzer::Model::CreateAccessPreviewResult::GetId
const Aws::String & GetId() const
Definition: CreateAccessPreviewResult.h:38
Aws::AccessAnalyzer::Model::CreateAccessPreviewResult::CreateAccessPreviewResult
CreateAccessPreviewResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AccessAnalyzer::Model::CreateAccessPreviewResult::WithId
CreateAccessPreviewResult & WithId(Aws::String &&value)
Definition: CreateAccessPreviewResult.h:63
AWSString.h
Aws::AccessAnalyzer::Model::CreateAccessPreviewResult::SetId
void SetId(const char *value)
Definition: CreateAccessPreviewResult.h:53
Aws::AccessAnalyzer::Model::CreateAccessPreviewResult::WithId
CreateAccessPreviewResult & WithId(const char *value)
Definition: CreateAccessPreviewResult.h:68
Aws::AccessAnalyzer::Model::CreateAccessPreviewResult::SetId
void SetId(const Aws::String &value)
Definition: CreateAccessPreviewResult.h:43
Aws::AccessAnalyzer::Model::CreateAccessPreviewResult
Definition: CreateAccessPreviewResult.h:28
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
AWS_ACCESSANALYZER_API
#define AWS_ACCESSANALYZER_API
Definition: AccessAnalyzer_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97