AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
GetEngagementResult.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/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/partnercentral-selling/model/EngagementContextDetails.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace PartnerCentralSelling
27{
28namespace Model
29{
31 {
32 public:
33 AWS_PARTNERCENTRALSELLING_API GetEngagementResult() = default;
36
37
39
42 inline const Aws::String& GetArn() const { return m_arn; }
43 template<typename ArnT = Aws::String>
44 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
45 template<typename ArnT = Aws::String>
46 GetEngagementResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
48
50
55 inline const Aws::Vector<EngagementContextDetails>& GetContexts() const { return m_contexts; }
56 template<typename ContextsT = Aws::Vector<EngagementContextDetails>>
57 void SetContexts(ContextsT&& value) { m_contextsHasBeenSet = true; m_contexts = std::forward<ContextsT>(value); }
58 template<typename ContextsT = Aws::Vector<EngagementContextDetails>>
59 GetEngagementResult& WithContexts(ContextsT&& value) { SetContexts(std::forward<ContextsT>(value)); return *this;}
60 template<typename ContextsT = EngagementContextDetails>
61 GetEngagementResult& AddContexts(ContextsT&& value) { m_contextsHasBeenSet = true; m_contexts.emplace_back(std::forward<ContextsT>(value)); return *this; }
63
65
70 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
71 template<typename CreatedAtT = Aws::Utils::DateTime>
72 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
73 template<typename CreatedAtT = Aws::Utils::DateTime>
74 GetEngagementResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
76
78
82 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
83 template<typename CreatedByT = Aws::String>
84 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
85 template<typename CreatedByT = Aws::String>
86 GetEngagementResult& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
88
90
94 inline const Aws::String& GetDescription() const { return m_description; }
95 template<typename DescriptionT = Aws::String>
96 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
97 template<typename DescriptionT = Aws::String>
98 GetEngagementResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
100
102
105 inline const Aws::String& GetId() const { return m_id; }
106 template<typename IdT = Aws::String>
107 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
108 template<typename IdT = Aws::String>
109 GetEngagementResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
111
113
118 inline int GetMemberCount() const { return m_memberCount; }
119 inline void SetMemberCount(int value) { m_memberCountHasBeenSet = true; m_memberCount = value; }
120 inline GetEngagementResult& WithMemberCount(int value) { SetMemberCount(value); return *this;}
122
124
128 inline const Aws::String& GetTitle() const { return m_title; }
129 template<typename TitleT = Aws::String>
130 void SetTitle(TitleT&& value) { m_titleHasBeenSet = true; m_title = std::forward<TitleT>(value); }
131 template<typename TitleT = Aws::String>
132 GetEngagementResult& WithTitle(TitleT&& value) { SetTitle(std::forward<TitleT>(value)); return *this;}
134
136
137 inline const Aws::String& GetRequestId() const { return m_requestId; }
138 template<typename RequestIdT = Aws::String>
139 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
140 template<typename RequestIdT = Aws::String>
141 GetEngagementResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
143 private:
144
145 Aws::String m_arn;
146 bool m_arnHasBeenSet = false;
147
149 bool m_contextsHasBeenSet = false;
150
151 Aws::Utils::DateTime m_createdAt{};
152 bool m_createdAtHasBeenSet = false;
153
154 Aws::String m_createdBy;
155 bool m_createdByHasBeenSet = false;
156
157 Aws::String m_description;
158 bool m_descriptionHasBeenSet = false;
159
160 Aws::String m_id;
161 bool m_idHasBeenSet = false;
162
163 int m_memberCount{0};
164 bool m_memberCountHasBeenSet = false;
165
166 Aws::String m_title;
167 bool m_titleHasBeenSet = false;
168
169 Aws::String m_requestId;
170 bool m_requestIdHasBeenSet = false;
171 };
172
173} // namespace Model
174} // namespace PartnerCentralSelling
175} // namespace Aws
GetEngagementResult & WithCreatedAt(CreatedAtT &&value)
GetEngagementResult & AddContexts(ContextsT &&value)
AWS_PARTNERCENTRALSELLING_API GetEngagementResult()=default
AWS_PARTNERCENTRALSELLING_API GetEngagementResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetEngagementResult & WithContexts(ContextsT &&value)
GetEngagementResult & WithRequestId(RequestIdT &&value)
GetEngagementResult & WithDescription(DescriptionT &&value)
GetEngagementResult & WithCreatedBy(CreatedByT &&value)
const Aws::Vector< EngagementContextDetails > & GetContexts() const
AWS_PARTNERCENTRALSELLING_API GetEngagementResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue