AWS SDK for C++  1.9.159
AWS SDK for C++
AclGrantee.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace AccessAnalyzer
22 {
23 namespace Model
24 {
25 
35  {
36  public:
41 
42 
47  inline const Aws::String& GetId() const{ return m_id; }
48 
53  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
54 
59  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
60 
65  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
66 
71  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
72 
77  inline AclGrantee& WithId(const Aws::String& value) { SetId(value); return *this;}
78 
83  inline AclGrantee& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
84 
89  inline AclGrantee& WithId(const char* value) { SetId(value); return *this;}
90 
91 
95  inline const Aws::String& GetUri() const{ return m_uri; }
96 
100  inline bool UriHasBeenSet() const { return m_uriHasBeenSet; }
101 
105  inline void SetUri(const Aws::String& value) { m_uriHasBeenSet = true; m_uri = value; }
106 
110  inline void SetUri(Aws::String&& value) { m_uriHasBeenSet = true; m_uri = std::move(value); }
111 
115  inline void SetUri(const char* value) { m_uriHasBeenSet = true; m_uri.assign(value); }
116 
120  inline AclGrantee& WithUri(const Aws::String& value) { SetUri(value); return *this;}
121 
125  inline AclGrantee& WithUri(Aws::String&& value) { SetUri(std::move(value)); return *this;}
126 
130  inline AclGrantee& WithUri(const char* value) { SetUri(value); return *this;}
131 
132  private:
133 
134  Aws::String m_id;
135  bool m_idHasBeenSet;
136 
137  Aws::String m_uri;
138  bool m_uriHasBeenSet;
139  };
140 
141 } // namespace Model
142 } // namespace AccessAnalyzer
143 } // namespace Aws
Aws::AccessAnalyzer::Model::AclGrantee::WithUri
AclGrantee & WithUri(Aws::String &&value)
Definition: AclGrantee.h:125
AccessAnalyzer_EXPORTS.h
Aws::AccessAnalyzer::Model::AclGrantee::AclGrantee
AclGrantee(Aws::Utils::Json::JsonView jsonValue)
Aws::AccessAnalyzer::Model::AclGrantee::WithUri
AclGrantee & WithUri(const Aws::String &value)
Definition: AclGrantee.h:120
Aws::AccessAnalyzer::Model::AclGrantee::WithId
AclGrantee & WithId(Aws::String &&value)
Definition: AclGrantee.h:83
Aws::AccessAnalyzer::Model::AclGrantee::GetUri
const Aws::String & GetUri() const
Definition: AclGrantee.h:95
Aws::AccessAnalyzer::Model::AclGrantee::GetId
const Aws::String & GetId() const
Definition: AclGrantee.h:47
Aws::AccessAnalyzer::Model::AclGrantee::UriHasBeenSet
bool UriHasBeenSet() const
Definition: AclGrantee.h:100
Aws::AccessAnalyzer::Model::AclGrantee::SetId
void SetId(const char *value)
Definition: AclGrantee.h:71
Aws::AccessAnalyzer::Model::AclGrantee::WithUri
AclGrantee & WithUri(const char *value)
Definition: AclGrantee.h:130
Aws::AccessAnalyzer::Model::AclGrantee::SetUri
void SetUri(const Aws::String &value)
Definition: AclGrantee.h:105
Aws::AccessAnalyzer::Model::AclGrantee::SetId
void SetId(Aws::String &&value)
Definition: AclGrantee.h:65
Aws::AccessAnalyzer::Model::AclGrantee::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::AccessAnalyzer::Model::AclGrantee::SetId
void SetId(const Aws::String &value)
Definition: AclGrantee.h:59
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::AccessAnalyzer::Model::AclGrantee::IdHasBeenSet
bool IdHasBeenSet() const
Definition: AclGrantee.h:53
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::AccessAnalyzer::Model::AclGrantee::WithId
AclGrantee & WithId(const Aws::String &value)
Definition: AclGrantee.h:77
Aws::AccessAnalyzer::Model::AclGrantee::SetUri
void SetUri(Aws::String &&value)
Definition: AclGrantee.h:110
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AccessAnalyzer::Model::AclGrantee::SetUri
void SetUri(const char *value)
Definition: AclGrantee.h:115
Aws::AccessAnalyzer::Model::AclGrantee::WithId
AclGrantee & WithId(const char *value)
Definition: AclGrantee.h:89
Aws::AccessAnalyzer::Model::AclGrantee
Definition: AclGrantee.h:35
Aws::AccessAnalyzer::Model::AclGrantee::operator=
AclGrantee & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AccessAnalyzer::Model::AclGrantee::AclGrantee
AclGrantee()