AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
EngagementMember.h
1
6#pragma once
7#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace PartnerCentralSelling
22{
23namespace Model
24{
25
40 {
41 public:
42 AWS_PARTNERCENTRALSELLING_API EngagementMember() = default;
43 AWS_PARTNERCENTRALSELLING_API EngagementMember(Aws::Utils::Json::JsonView jsonValue);
44 AWS_PARTNERCENTRALSELLING_API EngagementMember& operator=(Aws::Utils::Json::JsonView jsonValue);
45 AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
54 inline const Aws::String& GetAccountId() const { return m_accountId; }
55 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
56 template<typename AccountIdT = Aws::String>
57 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet = true; m_accountId = std::forward<AccountIdT>(value); }
58 template<typename AccountIdT = Aws::String>
59 EngagementMember& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
61
63
66 inline const Aws::String& GetCompanyName() const { return m_companyName; }
67 inline bool CompanyNameHasBeenSet() const { return m_companyNameHasBeenSet; }
68 template<typename CompanyNameT = Aws::String>
69 void SetCompanyName(CompanyNameT&& value) { m_companyNameHasBeenSet = true; m_companyName = std::forward<CompanyNameT>(value); }
70 template<typename CompanyNameT = Aws::String>
71 EngagementMember& WithCompanyName(CompanyNameT&& value) { SetCompanyName(std::forward<CompanyNameT>(value)); return *this;}
73
75
80 inline const Aws::String& GetWebsiteUrl() const { return m_websiteUrl; }
81 inline bool WebsiteUrlHasBeenSet() const { return m_websiteUrlHasBeenSet; }
82 template<typename WebsiteUrlT = Aws::String>
83 void SetWebsiteUrl(WebsiteUrlT&& value) { m_websiteUrlHasBeenSet = true; m_websiteUrl = std::forward<WebsiteUrlT>(value); }
84 template<typename WebsiteUrlT = Aws::String>
85 EngagementMember& WithWebsiteUrl(WebsiteUrlT&& value) { SetWebsiteUrl(std::forward<WebsiteUrlT>(value)); return *this;}
87 private:
88
89 Aws::String m_accountId;
90 bool m_accountIdHasBeenSet = false;
91
92 Aws::String m_companyName;
93 bool m_companyNameHasBeenSet = false;
94
95 Aws::String m_websiteUrl;
96 bool m_websiteUrlHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace PartnerCentralSelling
101} // 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