AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OrgConfiguration.h
1
6#pragma once
7#include <aws/resource-explorer-2/ResourceExplorer2_EXPORTS.h>
8#include <aws/resource-explorer-2/model/AWSServiceAccessStatus.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ResourceExplorer2
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_RESOURCEEXPLORER2_API OrgConfiguration();
38 AWS_RESOURCEEXPLORER2_API OrgConfiguration(Aws::Utils::Json::JsonView jsonValue);
39 AWS_RESOURCEEXPLORER2_API OrgConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_RESOURCEEXPLORER2_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const AWSServiceAccessStatus& GetAWSServiceAccessStatus() const{ return m_aWSServiceAccessStatus; }
49 inline bool AWSServiceAccessStatusHasBeenSet() const { return m_aWSServiceAccessStatusHasBeenSet; }
50 inline void SetAWSServiceAccessStatus(const AWSServiceAccessStatus& value) { m_aWSServiceAccessStatusHasBeenSet = true; m_aWSServiceAccessStatus = value; }
51 inline void SetAWSServiceAccessStatus(AWSServiceAccessStatus&& value) { m_aWSServiceAccessStatusHasBeenSet = true; m_aWSServiceAccessStatus = std::move(value); }
55
57
61 inline const Aws::String& GetServiceLinkedRole() const{ return m_serviceLinkedRole; }
62 inline bool ServiceLinkedRoleHasBeenSet() const { return m_serviceLinkedRoleHasBeenSet; }
63 inline void SetServiceLinkedRole(const Aws::String& value) { m_serviceLinkedRoleHasBeenSet = true; m_serviceLinkedRole = value; }
64 inline void SetServiceLinkedRole(Aws::String&& value) { m_serviceLinkedRoleHasBeenSet = true; m_serviceLinkedRole = std::move(value); }
65 inline void SetServiceLinkedRole(const char* value) { m_serviceLinkedRoleHasBeenSet = true; m_serviceLinkedRole.assign(value); }
66 inline OrgConfiguration& WithServiceLinkedRole(const Aws::String& value) { SetServiceLinkedRole(value); return *this;}
67 inline OrgConfiguration& WithServiceLinkedRole(Aws::String&& value) { SetServiceLinkedRole(std::move(value)); return *this;}
68 inline OrgConfiguration& WithServiceLinkedRole(const char* value) { SetServiceLinkedRole(value); return *this;}
70 private:
71
72 AWSServiceAccessStatus m_aWSServiceAccessStatus;
73 bool m_aWSServiceAccessStatusHasBeenSet = false;
74
75 Aws::String m_serviceLinkedRole;
76 bool m_serviceLinkedRoleHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace ResourceExplorer2
81} // namespace Aws
AWS_RESOURCEEXPLORER2_API OrgConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetServiceLinkedRole(const Aws::String &value)
AWS_RESOURCEEXPLORER2_API OrgConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetAWSServiceAccessStatus(const AWSServiceAccessStatus &value)
OrgConfiguration & WithAWSServiceAccessStatus(AWSServiceAccessStatus &&value)
OrgConfiguration & WithServiceLinkedRole(const char *value)
const AWSServiceAccessStatus & GetAWSServiceAccessStatus() const
void SetAWSServiceAccessStatus(AWSServiceAccessStatus &&value)
AWS_RESOURCEEXPLORER2_API OrgConfiguration()
AWS_RESOURCEEXPLORER2_API Aws::Utils::Json::JsonValue Jsonize() const
OrgConfiguration & WithServiceLinkedRole(Aws::String &&value)
OrgConfiguration & WithServiceLinkedRole(const Aws::String &value)
OrgConfiguration & WithAWSServiceAccessStatus(const AWSServiceAccessStatus &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue