AWS SDK for C++  1.9.157
AWS SDK for C++
AnalyzedResourceSummary.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace AccessAnalyzer
23 {
24 namespace Model
25 {
26 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
45 
49  inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
50 
54  inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; }
55 
59  inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); }
60 
64  inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); }
65 
69  inline AnalyzedResourceSummary& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
70 
74  inline AnalyzedResourceSummary& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
75 
79  inline AnalyzedResourceSummary& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
80 
81 
85  inline const Aws::String& GetResourceOwnerAccount() const{ return m_resourceOwnerAccount; }
86 
90  inline bool ResourceOwnerAccountHasBeenSet() const { return m_resourceOwnerAccountHasBeenSet; }
91 
95  inline void SetResourceOwnerAccount(const Aws::String& value) { m_resourceOwnerAccountHasBeenSet = true; m_resourceOwnerAccount = value; }
96 
100  inline void SetResourceOwnerAccount(Aws::String&& value) { m_resourceOwnerAccountHasBeenSet = true; m_resourceOwnerAccount = std::move(value); }
101 
105  inline void SetResourceOwnerAccount(const char* value) { m_resourceOwnerAccountHasBeenSet = true; m_resourceOwnerAccount.assign(value); }
106 
110  inline AnalyzedResourceSummary& WithResourceOwnerAccount(const Aws::String& value) { SetResourceOwnerAccount(value); return *this;}
111 
115  inline AnalyzedResourceSummary& WithResourceOwnerAccount(Aws::String&& value) { SetResourceOwnerAccount(std::move(value)); return *this;}
116 
120  inline AnalyzedResourceSummary& WithResourceOwnerAccount(const char* value) { SetResourceOwnerAccount(value); return *this;}
121 
122 
126  inline const ResourceType& GetResourceType() const{ return m_resourceType; }
127 
131  inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
132 
136  inline void SetResourceType(const ResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
137 
141  inline void SetResourceType(ResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
142 
146  inline AnalyzedResourceSummary& WithResourceType(const ResourceType& value) { SetResourceType(value); return *this;}
147 
151  inline AnalyzedResourceSummary& WithResourceType(ResourceType&& value) { SetResourceType(std::move(value)); return *this;}
152 
153  private:
154 
155  Aws::String m_resourceArn;
156  bool m_resourceArnHasBeenSet;
157 
158  Aws::String m_resourceOwnerAccount;
159  bool m_resourceOwnerAccountHasBeenSet;
160 
161  ResourceType m_resourceType;
162  bool m_resourceTypeHasBeenSet;
163  };
164 
165 } // namespace Model
166 } // namespace AccessAnalyzer
167 } // namespace Aws
AccessAnalyzer_EXPORTS.h
Aws::AccessAnalyzer::Model::AnalyzedResourceSummary::SetResourceArn
void SetResourceArn(Aws::String &&value)
Definition: AnalyzedResourceSummary.h:59
Aws::AccessAnalyzer::Model::AnalyzedResourceSummary::SetResourceOwnerAccount
void SetResourceOwnerAccount(Aws::String &&value)
Definition: AnalyzedResourceSummary.h:100
Aws::AccessAnalyzer::Model::AnalyzedResourceSummary::SetResourceType
void SetResourceType(ResourceType &&value)
Definition: AnalyzedResourceSummary.h:141
Aws::AccessAnalyzer::Model::AnalyzedResourceSummary::SetResourceArn
void SetResourceArn(const Aws::String &value)
Definition: AnalyzedResourceSummary.h:54
Aws::AccessAnalyzer::Model::AnalyzedResourceSummary::WithResourceArn
AnalyzedResourceSummary & WithResourceArn(const Aws::String &value)
Definition: AnalyzedResourceSummary.h:69
Aws::AccessAnalyzer::Model::AnalyzedResourceSummary::operator=
AnalyzedResourceSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AccessAnalyzer::Model::AnalyzedResourceSummary::WithResourceOwnerAccount
AnalyzedResourceSummary & WithResourceOwnerAccount(Aws::String &&value)
Definition: AnalyzedResourceSummary.h:115
Aws::AccessAnalyzer::Model::AnalyzedResourceSummary::SetResourceArn
void SetResourceArn(const char *value)
Definition: AnalyzedResourceSummary.h:64
Aws::AccessAnalyzer::Model::AnalyzedResourceSummary::WithResourceArn
AnalyzedResourceSummary & WithResourceArn(Aws::String &&value)
Definition: AnalyzedResourceSummary.h:74
Aws::AccessAnalyzer::Model::AnalyzedResourceSummary::WithResourceArn
AnalyzedResourceSummary & WithResourceArn(const char *value)
Definition: AnalyzedResourceSummary.h:79
Aws::AccessAnalyzer::Model::AnalyzedResourceSummary::SetResourceOwnerAccount
void SetResourceOwnerAccount(const Aws::String &value)
Definition: AnalyzedResourceSummary.h:95
Aws::AccessAnalyzer::Model::AnalyzedResourceSummary::ResourceTypeHasBeenSet
bool ResourceTypeHasBeenSet() const
Definition: AnalyzedResourceSummary.h:131
Aws::AccessAnalyzer::Model::AnalyzedResourceSummary::WithResourceType
AnalyzedResourceSummary & WithResourceType(ResourceType &&value)
Definition: AnalyzedResourceSummary.h:151
Aws::AccessAnalyzer::Model::AnalyzedResourceSummary::SetResourceType
void SetResourceType(const ResourceType &value)
Definition: AnalyzedResourceSummary.h:136
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::AccessAnalyzer::Model::AnalyzedResourceSummary::GetResourceArn
const Aws::String & GetResourceArn() const
Definition: AnalyzedResourceSummary.h:44
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::AccessAnalyzer::Model::AnalyzedResourceSummary::AnalyzedResourceSummary
AnalyzedResourceSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::AccessAnalyzer::Model::AnalyzedResourceSummary
Definition: AnalyzedResourceSummary.h:33
Aws::AccessAnalyzer::Model::AnalyzedResourceSummary::GetResourceOwnerAccount
const Aws::String & GetResourceOwnerAccount() const
Definition: AnalyzedResourceSummary.h:85
Aws::AccessAnalyzer::Model::AnalyzedResourceSummary::WithResourceOwnerAccount
AnalyzedResourceSummary & WithResourceOwnerAccount(const Aws::String &value)
Definition: AnalyzedResourceSummary.h:110
Aws::AccessAnalyzer::Model::AnalyzedResourceSummary::AnalyzedResourceSummary
AnalyzedResourceSummary()
Aws::AccessAnalyzer::Model::AnalyzedResourceSummary::ResourceOwnerAccountHasBeenSet
bool ResourceOwnerAccountHasBeenSet() const
Definition: AnalyzedResourceSummary.h:90
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::AccessAnalyzer::Model::AnalyzedResourceSummary::WithResourceType
AnalyzedResourceSummary & WithResourceType(const ResourceType &value)
Definition: AnalyzedResourceSummary.h:146
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::ResourceType
ResourceType
Definition: ResourceType.h:17
Aws::AccessAnalyzer::Model::AnalyzedResourceSummary::GetResourceType
const ResourceType & GetResourceType() const
Definition: AnalyzedResourceSummary.h:126
Aws::AccessAnalyzer::Model::AnalyzedResourceSummary::ResourceArnHasBeenSet
bool ResourceArnHasBeenSet() const
Definition: AnalyzedResourceSummary.h:49
Aws::AccessAnalyzer::Model::AnalyzedResourceSummary::WithResourceOwnerAccount
AnalyzedResourceSummary & WithResourceOwnerAccount(const char *value)
Definition: AnalyzedResourceSummary.h:120
Aws::AccessAnalyzer::Model::AnalyzedResourceSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
ResourceType.h
Aws::AccessAnalyzer::Model::AnalyzedResourceSummary::SetResourceOwnerAccount
void SetResourceOwnerAccount(const char *value)
Definition: AnalyzedResourceSummary.h:105