AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OrganizationStatus.h
1
6#pragma once
7#include <aws/networkmanager/NetworkManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/networkmanager/model/AccountStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace NetworkManager
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_NETWORKMANAGER_API OrganizationStatus();
38 AWS_NETWORKMANAGER_API OrganizationStatus(Aws::Utils::Json::JsonView jsonValue);
39 AWS_NETWORKMANAGER_API OrganizationStatus& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetOrganizationId() const{ return m_organizationId; }
48 inline bool OrganizationIdHasBeenSet() const { return m_organizationIdHasBeenSet; }
49 inline void SetOrganizationId(const Aws::String& value) { m_organizationIdHasBeenSet = true; m_organizationId = value; }
50 inline void SetOrganizationId(Aws::String&& value) { m_organizationIdHasBeenSet = true; m_organizationId = std::move(value); }
51 inline void SetOrganizationId(const char* value) { m_organizationIdHasBeenSet = true; m_organizationId.assign(value); }
52 inline OrganizationStatus& WithOrganizationId(const Aws::String& value) { SetOrganizationId(value); return *this;}
53 inline OrganizationStatus& WithOrganizationId(Aws::String&& value) { SetOrganizationId(std::move(value)); return *this;}
54 inline OrganizationStatus& WithOrganizationId(const char* value) { SetOrganizationId(value); return *this;}
56
58
62 inline const Aws::String& GetOrganizationAwsServiceAccessStatus() const{ return m_organizationAwsServiceAccessStatus; }
63 inline bool OrganizationAwsServiceAccessStatusHasBeenSet() const { return m_organizationAwsServiceAccessStatusHasBeenSet; }
64 inline void SetOrganizationAwsServiceAccessStatus(const Aws::String& value) { m_organizationAwsServiceAccessStatusHasBeenSet = true; m_organizationAwsServiceAccessStatus = value; }
65 inline void SetOrganizationAwsServiceAccessStatus(Aws::String&& value) { m_organizationAwsServiceAccessStatusHasBeenSet = true; m_organizationAwsServiceAccessStatus = std::move(value); }
66 inline void SetOrganizationAwsServiceAccessStatus(const char* value) { m_organizationAwsServiceAccessStatusHasBeenSet = true; m_organizationAwsServiceAccessStatus.assign(value); }
71
73
77 inline const Aws::String& GetSLRDeploymentStatus() const{ return m_sLRDeploymentStatus; }
78 inline bool SLRDeploymentStatusHasBeenSet() const { return m_sLRDeploymentStatusHasBeenSet; }
79 inline void SetSLRDeploymentStatus(const Aws::String& value) { m_sLRDeploymentStatusHasBeenSet = true; m_sLRDeploymentStatus = value; }
80 inline void SetSLRDeploymentStatus(Aws::String&& value) { m_sLRDeploymentStatusHasBeenSet = true; m_sLRDeploymentStatus = std::move(value); }
81 inline void SetSLRDeploymentStatus(const char* value) { m_sLRDeploymentStatusHasBeenSet = true; m_sLRDeploymentStatus.assign(value); }
83 inline OrganizationStatus& WithSLRDeploymentStatus(Aws::String&& value) { SetSLRDeploymentStatus(std::move(value)); return *this;}
84 inline OrganizationStatus& WithSLRDeploymentStatus(const char* value) { SetSLRDeploymentStatus(value); return *this;}
86
88
93 inline const Aws::Vector<AccountStatus>& GetAccountStatusList() const{ return m_accountStatusList; }
94 inline bool AccountStatusListHasBeenSet() const { return m_accountStatusListHasBeenSet; }
95 inline void SetAccountStatusList(const Aws::Vector<AccountStatus>& value) { m_accountStatusListHasBeenSet = true; m_accountStatusList = value; }
96 inline void SetAccountStatusList(Aws::Vector<AccountStatus>&& value) { m_accountStatusListHasBeenSet = true; m_accountStatusList = std::move(value); }
99 inline OrganizationStatus& AddAccountStatusList(const AccountStatus& value) { m_accountStatusListHasBeenSet = true; m_accountStatusList.push_back(value); return *this; }
100 inline OrganizationStatus& AddAccountStatusList(AccountStatus&& value) { m_accountStatusListHasBeenSet = true; m_accountStatusList.push_back(std::move(value)); return *this; }
102 private:
103
104 Aws::String m_organizationId;
105 bool m_organizationIdHasBeenSet = false;
106
107 Aws::String m_organizationAwsServiceAccessStatus;
108 bool m_organizationAwsServiceAccessStatusHasBeenSet = false;
109
110 Aws::String m_sLRDeploymentStatus;
111 bool m_sLRDeploymentStatusHasBeenSet = false;
112
113 Aws::Vector<AccountStatus> m_accountStatusList;
114 bool m_accountStatusListHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace NetworkManager
119} // namespace Aws
OrganizationStatus & WithOrganizationId(Aws::String &&value)
void SetAccountStatusList(const Aws::Vector< AccountStatus > &value)
OrganizationStatus & WithSLRDeploymentStatus(const char *value)
void SetOrganizationAwsServiceAccessStatus(const Aws::String &value)
OrganizationStatus & WithSLRDeploymentStatus(const Aws::String &value)
void SetAccountStatusList(Aws::Vector< AccountStatus > &&value)
OrganizationStatus & WithAccountStatusList(const Aws::Vector< AccountStatus > &value)
const Aws::Vector< AccountStatus > & GetAccountStatusList() const
OrganizationStatus & WithAccountStatusList(Aws::Vector< AccountStatus > &&value)
OrganizationStatus & WithOrganizationAwsServiceAccessStatus(const Aws::String &value)
OrganizationStatus & WithOrganizationAwsServiceAccessStatus(const char *value)
const Aws::String & GetOrganizationAwsServiceAccessStatus() const
void SetOrganizationAwsServiceAccessStatus(Aws::String &&value)
OrganizationStatus & AddAccountStatusList(const AccountStatus &value)
AWS_NETWORKMANAGER_API OrganizationStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_NETWORKMANAGER_API OrganizationStatus(Aws::Utils::Json::JsonView jsonValue)
OrganizationStatus & AddAccountStatusList(AccountStatus &&value)
void SetOrganizationId(const Aws::String &value)
void SetSLRDeploymentStatus(const Aws::String &value)
OrganizationStatus & WithOrganizationAwsServiceAccessStatus(Aws::String &&value)
void SetOrganizationAwsServiceAccessStatus(const char *value)
OrganizationStatus & WithOrganizationId(const Aws::String &value)
AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
OrganizationStatus & WithSLRDeploymentStatus(Aws::String &&value)
OrganizationStatus & WithOrganizationId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue