AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 AWSServiceAccessStatus GetAWSServiceAccessStatus() const { return m_aWSServiceAccessStatus; }
49 inline bool AWSServiceAccessStatusHasBeenSet() const { return m_aWSServiceAccessStatusHasBeenSet; }
50 inline void SetAWSServiceAccessStatus(AWSServiceAccessStatus value) { m_aWSServiceAccessStatusHasBeenSet = true; m_aWSServiceAccessStatus = value; }
53
55
59 inline const Aws::String& GetServiceLinkedRole() const { return m_serviceLinkedRole; }
60 inline bool ServiceLinkedRoleHasBeenSet() const { return m_serviceLinkedRoleHasBeenSet; }
61 template<typename ServiceLinkedRoleT = Aws::String>
62 void SetServiceLinkedRole(ServiceLinkedRoleT&& value) { m_serviceLinkedRoleHasBeenSet = true; m_serviceLinkedRole = std::forward<ServiceLinkedRoleT>(value); }
63 template<typename ServiceLinkedRoleT = Aws::String>
64 OrgConfiguration& WithServiceLinkedRole(ServiceLinkedRoleT&& value) { SetServiceLinkedRole(std::forward<ServiceLinkedRoleT>(value)); return *this;}
66 private:
67
69 bool m_aWSServiceAccessStatusHasBeenSet = false;
70
71 Aws::String m_serviceLinkedRole;
72 bool m_serviceLinkedRoleHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace ResourceExplorer2
77} // namespace Aws
AWS_RESOURCEEXPLORER2_API OrgConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_RESOURCEEXPLORER2_API OrgConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWSServiceAccessStatus GetAWSServiceAccessStatus() const
void SetServiceLinkedRole(ServiceLinkedRoleT &&value)
AWS_RESOURCEEXPLORER2_API Aws::Utils::Json::JsonValue Jsonize() const
OrgConfiguration & WithAWSServiceAccessStatus(AWSServiceAccessStatus value)
void SetAWSServiceAccessStatus(AWSServiceAccessStatus value)
AWS_RESOURCEEXPLORER2_API OrgConfiguration()=default
OrgConfiguration & WithServiceLinkedRole(ServiceLinkedRoleT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue