AWS SDK for C++  1.9.110
AWS SDK for C++
Organization.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 GuardDuty
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
45  inline const Aws::String& GetAsn() const{ return m_asn; }
46 
51  inline bool AsnHasBeenSet() const { return m_asnHasBeenSet; }
52 
57  inline void SetAsn(const Aws::String& value) { m_asnHasBeenSet = true; m_asn = value; }
58 
63  inline void SetAsn(Aws::String&& value) { m_asnHasBeenSet = true; m_asn = std::move(value); }
64 
69  inline void SetAsn(const char* value) { m_asnHasBeenSet = true; m_asn.assign(value); }
70 
75  inline Organization& WithAsn(const Aws::String& value) { SetAsn(value); return *this;}
76 
81  inline Organization& WithAsn(Aws::String&& value) { SetAsn(std::move(value)); return *this;}
82 
87  inline Organization& WithAsn(const char* value) { SetAsn(value); return *this;}
88 
89 
93  inline const Aws::String& GetAsnOrg() const{ return m_asnOrg; }
94 
98  inline bool AsnOrgHasBeenSet() const { return m_asnOrgHasBeenSet; }
99 
103  inline void SetAsnOrg(const Aws::String& value) { m_asnOrgHasBeenSet = true; m_asnOrg = value; }
104 
108  inline void SetAsnOrg(Aws::String&& value) { m_asnOrgHasBeenSet = true; m_asnOrg = std::move(value); }
109 
113  inline void SetAsnOrg(const char* value) { m_asnOrgHasBeenSet = true; m_asnOrg.assign(value); }
114 
118  inline Organization& WithAsnOrg(const Aws::String& value) { SetAsnOrg(value); return *this;}
119 
123  inline Organization& WithAsnOrg(Aws::String&& value) { SetAsnOrg(std::move(value)); return *this;}
124 
128  inline Organization& WithAsnOrg(const char* value) { SetAsnOrg(value); return *this;}
129 
130 
134  inline const Aws::String& GetIsp() const{ return m_isp; }
135 
139  inline bool IspHasBeenSet() const { return m_ispHasBeenSet; }
140 
144  inline void SetIsp(const Aws::String& value) { m_ispHasBeenSet = true; m_isp = value; }
145 
149  inline void SetIsp(Aws::String&& value) { m_ispHasBeenSet = true; m_isp = std::move(value); }
150 
154  inline void SetIsp(const char* value) { m_ispHasBeenSet = true; m_isp.assign(value); }
155 
159  inline Organization& WithIsp(const Aws::String& value) { SetIsp(value); return *this;}
160 
164  inline Organization& WithIsp(Aws::String&& value) { SetIsp(std::move(value)); return *this;}
165 
169  inline Organization& WithIsp(const char* value) { SetIsp(value); return *this;}
170 
171 
175  inline const Aws::String& GetOrg() const{ return m_org; }
176 
180  inline bool OrgHasBeenSet() const { return m_orgHasBeenSet; }
181 
185  inline void SetOrg(const Aws::String& value) { m_orgHasBeenSet = true; m_org = value; }
186 
190  inline void SetOrg(Aws::String&& value) { m_orgHasBeenSet = true; m_org = std::move(value); }
191 
195  inline void SetOrg(const char* value) { m_orgHasBeenSet = true; m_org.assign(value); }
196 
200  inline Organization& WithOrg(const Aws::String& value) { SetOrg(value); return *this;}
201 
205  inline Organization& WithOrg(Aws::String&& value) { SetOrg(std::move(value)); return *this;}
206 
210  inline Organization& WithOrg(const char* value) { SetOrg(value); return *this;}
211 
212  private:
213 
214  Aws::String m_asn;
215  bool m_asnHasBeenSet;
216 
217  Aws::String m_asnOrg;
218  bool m_asnOrgHasBeenSet;
219 
220  Aws::String m_isp;
221  bool m_ispHasBeenSet;
222 
223  Aws::String m_org;
224  bool m_orgHasBeenSet;
225  };
226 
227 } // namespace Model
228 } // namespace GuardDuty
229 } // namespace Aws
Aws::GuardDuty::Model::Organization::WithOrg
Organization & WithOrg(const char *value)
Definition: Organization.h:210
Aws::GuardDuty::Model::Organization::GetOrg
const Aws::String & GetOrg() const
Definition: Organization.h:175
Aws::GuardDuty::Model::Organization::SetIsp
void SetIsp(Aws::String &&value)
Definition: Organization.h:149
Aws::GuardDuty::Model::Organization::SetIsp
void SetIsp(const char *value)
Definition: Organization.h:154
Aws::GuardDuty::Model::Organization::WithIsp
Organization & WithIsp(const Aws::String &value)
Definition: Organization.h:159
Aws::GuardDuty::Model::Organization::SetIsp
void SetIsp(const Aws::String &value)
Definition: Organization.h:144
Aws::GuardDuty::Model::Organization::GetAsnOrg
const Aws::String & GetAsnOrg() const
Definition: Organization.h:93
Aws::GuardDuty::Model::Organization::WithAsnOrg
Organization & WithAsnOrg(Aws::String &&value)
Definition: Organization.h:123
Aws::GuardDuty::Model::Organization::WithAsn
Organization & WithAsn(Aws::String &&value)
Definition: Organization.h:81
Aws::GuardDuty::Model::Organization::operator=
Organization & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::GuardDuty::Model::Organization::SetAsn
void SetAsn(const Aws::String &value)
Definition: Organization.h:57
Aws::GuardDuty::Model::Organization::WithIsp
Organization & WithIsp(const char *value)
Definition: Organization.h:169
Aws::GuardDuty::Model::Organization::Organization
Organization()
Aws::GuardDuty::Model::Organization
Definition: Organization.h:33
Aws::GuardDuty::Model::Organization::SetAsnOrg
void SetAsnOrg(const char *value)
Definition: Organization.h:113
Aws::GuardDuty::Model::Organization::AsnHasBeenSet
bool AsnHasBeenSet() const
Definition: Organization.h:51
Aws::GuardDuty::Model::Organization::SetOrg
void SetOrg(const char *value)
Definition: Organization.h:195
Aws::GuardDuty::Model::Organization::AsnOrgHasBeenSet
bool AsnOrgHasBeenSet() const
Definition: Organization.h:98
GuardDuty_EXPORTS.h
Aws::GuardDuty::Model::Organization::WithAsn
Organization & WithAsn(const char *value)
Definition: Organization.h:87
Aws::GuardDuty::Model::Organization::WithOrg
Organization & WithOrg(Aws::String &&value)
Definition: Organization.h:205
Aws::GuardDuty::Model::Organization::SetAsn
void SetAsn(const char *value)
Definition: Organization.h:69
Aws::GuardDuty::Model::Organization::WithOrg
Organization & WithOrg(const Aws::String &value)
Definition: Organization.h:200
AWS_GUARDDUTY_API
#define AWS_GUARDDUTY_API
Definition: GuardDuty_EXPORTS.h:28
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::GuardDuty::Model::Organization::WithIsp
Organization & WithIsp(Aws::String &&value)
Definition: Organization.h:164
Aws::GuardDuty::Model::Organization::SetOrg
void SetOrg(Aws::String &&value)
Definition: Organization.h:190
Aws::GuardDuty::Model::Organization::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::GuardDuty::Model::Organization::SetOrg
void SetOrg(const Aws::String &value)
Definition: Organization.h:185
Aws
Definition: AccessManagementClient.h:15
Aws::GuardDuty::Model::Organization::WithAsn
Organization & WithAsn(const Aws::String &value)
Definition: Organization.h:75
Aws::GuardDuty::Model::Organization::OrgHasBeenSet
bool OrgHasBeenSet() const
Definition: Organization.h:180
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GuardDuty::Model::Organization::WithAsnOrg
Organization & WithAsnOrg(const char *value)
Definition: Organization.h:128
Aws::GuardDuty::Model::Organization::GetIsp
const Aws::String & GetIsp() const
Definition: Organization.h:134
Aws::GuardDuty::Model::Organization::IspHasBeenSet
bool IspHasBeenSet() const
Definition: Organization.h:139
Aws::GuardDuty::Model::Organization::WithAsnOrg
Organization & WithAsnOrg(const Aws::String &value)
Definition: Organization.h:118
Aws::GuardDuty::Model::Organization::SetAsn
void SetAsn(Aws::String &&value)
Definition: Organization.h:63
Aws::GuardDuty::Model::Organization::SetAsnOrg
void SetAsnOrg(const Aws::String &value)
Definition: Organization.h:103
Aws::GuardDuty::Model::Organization::Organization
Organization(Aws::Utils::Json::JsonView jsonValue)
Aws::GuardDuty::Model::Organization::SetAsnOrg
void SetAsnOrg(Aws::String &&value)
Definition: Organization.h:108
Aws::GuardDuty::Model::Organization::GetAsn
const Aws::String & GetAsn() const
Definition: Organization.h:45