AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ProfileSummary.h
1
6#pragma once
7#include <aws/route53profiles/Route53Profiles_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/route53profiles/model/ShareStatus.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 Route53Profiles
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_ROUTE53PROFILES_API ProfileSummary();
36 AWS_ROUTE53PROFILES_API ProfileSummary(Aws::Utils::Json::JsonView jsonValue);
37 AWS_ROUTE53PROFILES_API ProfileSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_ROUTE53PROFILES_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetArn() const{ return m_arn; }
46 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
47 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
48 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
49 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
50 inline ProfileSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
51 inline ProfileSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
52 inline ProfileSummary& WithArn(const char* value) { SetArn(value); return *this;}
54
56
59 inline const Aws::String& GetId() const{ return m_id; }
60 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
61 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
62 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
63 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
64 inline ProfileSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
65 inline ProfileSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
66 inline ProfileSummary& WithId(const char* value) { SetId(value); return *this;}
68
70
73 inline const Aws::String& GetName() const{ return m_name; }
74 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
75 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
76 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
77 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
78 inline ProfileSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
79 inline ProfileSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
80 inline ProfileSummary& WithName(const char* value) { SetName(value); return *this;}
82
84
87 inline const ShareStatus& GetShareStatus() const{ return m_shareStatus; }
88 inline bool ShareStatusHasBeenSet() const { return m_shareStatusHasBeenSet; }
89 inline void SetShareStatus(const ShareStatus& value) { m_shareStatusHasBeenSet = true; m_shareStatus = value; }
90 inline void SetShareStatus(ShareStatus&& value) { m_shareStatusHasBeenSet = true; m_shareStatus = std::move(value); }
91 inline ProfileSummary& WithShareStatus(const ShareStatus& value) { SetShareStatus(value); return *this;}
92 inline ProfileSummary& WithShareStatus(ShareStatus&& value) { SetShareStatus(std::move(value)); return *this;}
94 private:
95
96 Aws::String m_arn;
97 bool m_arnHasBeenSet = false;
98
99 Aws::String m_id;
100 bool m_idHasBeenSet = false;
101
102 Aws::String m_name;
103 bool m_nameHasBeenSet = false;
104
105 ShareStatus m_shareStatus;
106 bool m_shareStatusHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace Route53Profiles
111} // namespace Aws
ProfileSummary & WithId(const Aws::String &value)
ProfileSummary & WithName(Aws::String &&value)
AWS_ROUTE53PROFILES_API ProfileSummary(Aws::Utils::Json::JsonView jsonValue)
ProfileSummary & WithShareStatus(ShareStatus &&value)
ProfileSummary & WithArn(Aws::String &&value)
AWS_ROUTE53PROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
ProfileSummary & WithId(const char *value)
void SetArn(const Aws::String &value)
void SetId(const Aws::String &value)
ProfileSummary & WithName(const char *value)
AWS_ROUTE53PROFILES_API ProfileSummary()
ProfileSummary & WithId(Aws::String &&value)
ProfileSummary & WithArn(const char *value)
ProfileSummary & WithArn(const Aws::String &value)
ProfileSummary & WithName(const Aws::String &value)
void SetShareStatus(const ShareStatus &value)
AWS_ROUTE53PROFILES_API ProfileSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(const Aws::String &value)
ProfileSummary & WithShareStatus(const ShareStatus &value)
const ShareStatus & GetShareStatus() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue