AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
EngagementSummary.h
1
6#pragma once
7#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.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 PartnerCentralSelling
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_PARTNERCENTRALSELLING_API EngagementSummary() = default;
37 AWS_PARTNERCENTRALSELLING_API EngagementSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_PARTNERCENTRALSELLING_API EngagementSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetArn() const { return m_arn; }
47 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
48 template<typename ArnT = Aws::String>
49 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
50 template<typename ArnT = Aws::String>
51 EngagementSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
53
55
58 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
59 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
60 template<typename CreatedAtT = Aws::Utils::DateTime>
61 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
62 template<typename CreatedAtT = Aws::Utils::DateTime>
63 EngagementSummary& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
65
67
70 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
71 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
72 template<typename CreatedByT = Aws::String>
73 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
74 template<typename CreatedByT = Aws::String>
75 EngagementSummary& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
77
79
82 inline const Aws::String& GetId() const { return m_id; }
83 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
84 template<typename IdT = Aws::String>
85 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
86 template<typename IdT = Aws::String>
87 EngagementSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
89
91
94 inline int GetMemberCount() const { return m_memberCount; }
95 inline bool MemberCountHasBeenSet() const { return m_memberCountHasBeenSet; }
96 inline void SetMemberCount(int value) { m_memberCountHasBeenSet = true; m_memberCount = value; }
97 inline EngagementSummary& WithMemberCount(int value) { SetMemberCount(value); return *this;}
99
101
104 inline const Aws::String& GetTitle() const { return m_title; }
105 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
106 template<typename TitleT = Aws::String>
107 void SetTitle(TitleT&& value) { m_titleHasBeenSet = true; m_title = std::forward<TitleT>(value); }
108 template<typename TitleT = Aws::String>
109 EngagementSummary& WithTitle(TitleT&& value) { SetTitle(std::forward<TitleT>(value)); return *this;}
111 private:
112
113 Aws::String m_arn;
114 bool m_arnHasBeenSet = false;
115
116 Aws::Utils::DateTime m_createdAt{};
117 bool m_createdAtHasBeenSet = false;
118
119 Aws::String m_createdBy;
120 bool m_createdByHasBeenSet = false;
121
122 Aws::String m_id;
123 bool m_idHasBeenSet = false;
124
125 int m_memberCount{0};
126 bool m_memberCountHasBeenSet = false;
127
128 Aws::String m_title;
129 bool m_titleHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace PartnerCentralSelling
134} // namespace Aws
AWS_PARTNERCENTRALSELLING_API EngagementSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const
EngagementSummary & WithCreatedAt(CreatedAtT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
AWS_PARTNERCENTRALSELLING_API EngagementSummary()=default
EngagementSummary & WithCreatedBy(CreatedByT &&value)
AWS_PARTNERCENTRALSELLING_API EngagementSummary(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue