AWS SDK for C++

AWS SDK for C++ Version 1.11.936

Loading...
Searching...
No Matches
OrgConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/resource-explorer-2/ResourceExplorer2_EXPORTS.h>
9#include <aws/resource-explorer-2/model/AWSServiceAccessStatus.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace ResourceExplorer2 {
21namespace Model {
22
31 public:
32 AWS_RESOURCEEXPLORER2_API OrgConfiguration() = default;
33 AWS_RESOURCEEXPLORER2_API OrgConfiguration(Aws::Utils::Json::JsonView jsonValue);
34 AWS_RESOURCEEXPLORER2_API OrgConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_RESOURCEEXPLORER2_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
42 inline AWSServiceAccessStatus GetAWSServiceAccessStatus() const { return m_aWSServiceAccessStatus; }
43 inline bool AWSServiceAccessStatusHasBeenSet() const { return m_aWSServiceAccessStatusHasBeenSet; }
45 m_aWSServiceAccessStatusHasBeenSet = true;
46 m_aWSServiceAccessStatus = value;
47 }
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) {
63 m_serviceLinkedRoleHasBeenSet = true;
64 m_serviceLinkedRole = std::forward<ServiceLinkedRoleT>(value);
65 }
66 template <typename ServiceLinkedRoleT = Aws::String>
67 OrgConfiguration& WithServiceLinkedRole(ServiceLinkedRoleT&& value) {
68 SetServiceLinkedRole(std::forward<ServiceLinkedRoleT>(value));
69 return *this;
70 }
72 private:
74
75 Aws::String m_serviceLinkedRole;
76 bool m_aWSServiceAccessStatusHasBeenSet = false;
77 bool m_serviceLinkedRoleHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace ResourceExplorer2
82} // 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