AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
EngagementMember.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace PartnerCentralSelling {
20namespace Model {
21
36 public:
37 AWS_PARTNERCENTRALSELLING_API EngagementMember() = default;
38 AWS_PARTNERCENTRALSELLING_API EngagementMember(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PARTNERCENTRALSELLING_API EngagementMember& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const;
41
43
46 inline const Aws::String& GetCompanyName() const { return m_companyName; }
47 inline bool CompanyNameHasBeenSet() const { return m_companyNameHasBeenSet; }
48 template <typename CompanyNameT = Aws::String>
49 void SetCompanyName(CompanyNameT&& value) {
50 m_companyNameHasBeenSet = true;
51 m_companyName = std::forward<CompanyNameT>(value);
52 }
53 template <typename CompanyNameT = Aws::String>
54 EngagementMember& WithCompanyName(CompanyNameT&& value) {
55 SetCompanyName(std::forward<CompanyNameT>(value));
56 return *this;
57 }
59
61
66 inline const Aws::String& GetWebsiteUrl() const { return m_websiteUrl; }
67 inline bool WebsiteUrlHasBeenSet() const { return m_websiteUrlHasBeenSet; }
68 template <typename WebsiteUrlT = Aws::String>
69 void SetWebsiteUrl(WebsiteUrlT&& value) {
70 m_websiteUrlHasBeenSet = true;
71 m_websiteUrl = std::forward<WebsiteUrlT>(value);
72 }
73 template <typename WebsiteUrlT = Aws::String>
74 EngagementMember& WithWebsiteUrl(WebsiteUrlT&& value) {
75 SetWebsiteUrl(std::forward<WebsiteUrlT>(value));
76 return *this;
77 }
79
81
86 inline const Aws::String& GetAccountId() const { return m_accountId; }
87 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
88 template <typename AccountIdT = Aws::String>
89 void SetAccountId(AccountIdT&& value) {
90 m_accountIdHasBeenSet = true;
91 m_accountId = std::forward<AccountIdT>(value);
92 }
93 template <typename AccountIdT = Aws::String>
94 EngagementMember& WithAccountId(AccountIdT&& value) {
95 SetAccountId(std::forward<AccountIdT>(value));
96 return *this;
97 }
99 private:
100 Aws::String m_companyName;
101
102 Aws::String m_websiteUrl;
103
104 Aws::String m_accountId;
105 bool m_companyNameHasBeenSet = false;
106 bool m_websiteUrlHasBeenSet = false;
107 bool m_accountIdHasBeenSet = false;
108};
109
110} // namespace Model
111} // namespace PartnerCentralSelling
112} // namespace Aws
EngagementMember & WithWebsiteUrl(WebsiteUrlT &&value)
EngagementMember & WithCompanyName(CompanyNameT &&value)
AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PARTNERCENTRALSELLING_API EngagementMember()=default
AWS_PARTNERCENTRALSELLING_API EngagementMember(Aws::Utils::Json::JsonView jsonValue)
EngagementMember & WithAccountId(AccountIdT &&value)
AWS_PARTNERCENTRALSELLING_API EngagementMember & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue