AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
ProfileSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/route53profiles/Route53Profiles_EXPORTS.h>
9#include <aws/route53profiles/model/ShareStatus.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Route53Profiles {
21namespace Model {
22
29 public:
30 AWS_ROUTE53PROFILES_API ProfileSummary() = default;
31 AWS_ROUTE53PROFILES_API ProfileSummary(Aws::Utils::Json::JsonView jsonValue);
32 AWS_ROUTE53PROFILES_API ProfileSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_ROUTE53PROFILES_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetArn() const { return m_arn; }
40 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
41 template <typename ArnT = Aws::String>
42 void SetArn(ArnT&& value) {
43 m_arnHasBeenSet = true;
44 m_arn = std::forward<ArnT>(value);
45 }
46 template <typename ArnT = Aws::String>
47 ProfileSummary& WithArn(ArnT&& value) {
48 SetArn(std::forward<ArnT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetId() const { return m_id; }
58 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
59 template <typename IdT = Aws::String>
60 void SetId(IdT&& value) {
61 m_idHasBeenSet = true;
62 m_id = std::forward<IdT>(value);
63 }
64 template <typename IdT = Aws::String>
65 ProfileSummary& WithId(IdT&& value) {
66 SetId(std::forward<IdT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetName() const { return m_name; }
76 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
77 template <typename NameT = Aws::String>
78 void SetName(NameT&& value) {
79 m_nameHasBeenSet = true;
80 m_name = std::forward<NameT>(value);
81 }
82 template <typename NameT = Aws::String>
83 ProfileSummary& WithName(NameT&& value) {
84 SetName(std::forward<NameT>(value));
85 return *this;
86 }
88
90
93 inline ShareStatus GetShareStatus() const { return m_shareStatus; }
94 inline bool ShareStatusHasBeenSet() const { return m_shareStatusHasBeenSet; }
95 inline void SetShareStatus(ShareStatus value) {
96 m_shareStatusHasBeenSet = true;
97 m_shareStatus = value;
98 }
100 SetShareStatus(value);
101 return *this;
102 }
104 private:
105 Aws::String m_arn;
106
107 Aws::String m_id;
108
109 Aws::String m_name;
110
111 ShareStatus m_shareStatus{ShareStatus::NOT_SET};
112 bool m_arnHasBeenSet = false;
113 bool m_idHasBeenSet = false;
114 bool m_nameHasBeenSet = false;
115 bool m_shareStatusHasBeenSet = false;
116};
117
118} // namespace Model
119} // namespace Route53Profiles
120} // namespace Aws
AWS_ROUTE53PROFILES_API ProfileSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_ROUTE53PROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
ProfileSummary & WithArn(ArnT &&value)
ProfileSummary & WithShareStatus(ShareStatus value)
ProfileSummary & WithName(NameT &&value)
AWS_ROUTE53PROFILES_API ProfileSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ROUTE53PROFILES_API ProfileSummary()=default
ProfileSummary & WithId(IdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue