AWS SDK for C++  1.9.16
AWS SDK for C++
CreateAnalyzerResult.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 {
34  {
35  public:
39 
40 
44  inline const Aws::String& GetArn() const{ return m_arn; }
45 
49  inline void SetArn(const Aws::String& value) { m_arn = value; }
50 
54  inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
55 
59  inline void SetArn(const char* value) { m_arn.assign(value); }
60 
64  inline CreateAnalyzerResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
65 
69  inline CreateAnalyzerResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
70 
74  inline CreateAnalyzerResult& WithArn(const char* value) { SetArn(value); return *this;}
75 
76  private:
77 
78  Aws::String m_arn;
79  };
80 
81 } // namespace Model
82 } // namespace AccessAnalyzer
83 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
AccessAnalyzer_EXPORTS.h
Aws::AccessAnalyzer::Model::CreateAnalyzerResult
Definition: CreateAnalyzerResult.h:34
Aws::AccessAnalyzer::Model::CreateAnalyzerResult::SetArn
void SetArn(Aws::String &&value)
Definition: CreateAnalyzerResult.h:54
Aws::AccessAnalyzer::Model::CreateAnalyzerResult::WithArn
CreateAnalyzerResult & WithArn(const char *value)
Definition: CreateAnalyzerResult.h:74
Aws::AccessAnalyzer::Model::CreateAnalyzerResult::GetArn
const Aws::String & GetArn() const
Definition: CreateAnalyzerResult.h:44
Aws::AccessAnalyzer::Model::CreateAnalyzerResult::WithArn
CreateAnalyzerResult & WithArn(const Aws::String &value)
Definition: CreateAnalyzerResult.h:64
Aws::AccessAnalyzer::Model::CreateAnalyzerResult::operator=
CreateAnalyzerResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AccessAnalyzer::Model::CreateAnalyzerResult::SetArn
void SetArn(const Aws::String &value)
Definition: CreateAnalyzerResult.h:49
Aws::AccessAnalyzer::Model::CreateAnalyzerResult::SetArn
void SetArn(const char *value)
Definition: CreateAnalyzerResult.h:59
Aws::AccessAnalyzer::Model::CreateAnalyzerResult::CreateAnalyzerResult
CreateAnalyzerResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AccessAnalyzer::Model::CreateAnalyzerResult::CreateAnalyzerResult
CreateAnalyzerResult()
AWSString.h
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
Aws::AccessAnalyzer::Model::CreateAnalyzerResult::WithArn
CreateAnalyzerResult & WithArn(Aws::String &&value)
Definition: CreateAnalyzerResult.h:69