AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
ResoldEnterprise.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/partnercentral-channel/PartnerCentralChannel_EXPORTS.h>
9#include <aws/partnercentral-channel/model/Coverage.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace PartnerCentralChannel {
21namespace Model {
22
30 public:
31 AWS_PARTNERCENTRALCHANNEL_API ResoldEnterprise() = default;
32 AWS_PARTNERCENTRALCHANNEL_API ResoldEnterprise(Aws::Utils::Json::JsonView jsonValue);
33 AWS_PARTNERCENTRALCHANNEL_API ResoldEnterprise& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_PARTNERCENTRALCHANNEL_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline Coverage GetCoverage() const { return m_coverage; }
41 inline bool CoverageHasBeenSet() const { return m_coverageHasBeenSet; }
42 inline void SetCoverage(Coverage value) {
43 m_coverageHasBeenSet = true;
44 m_coverage = value;
45 }
47 SetCoverage(value);
48 return *this;
49 }
51
53
56 inline const Aws::String& GetTamLocation() const { return m_tamLocation; }
57 inline bool TamLocationHasBeenSet() const { return m_tamLocationHasBeenSet; }
58 template <typename TamLocationT = Aws::String>
59 void SetTamLocation(TamLocationT&& value) {
60 m_tamLocationHasBeenSet = true;
61 m_tamLocation = std::forward<TamLocationT>(value);
62 }
63 template <typename TamLocationT = Aws::String>
64 ResoldEnterprise& WithTamLocation(TamLocationT&& value) {
65 SetTamLocation(std::forward<TamLocationT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetChargeAccountId() const { return m_chargeAccountId; }
75 inline bool ChargeAccountIdHasBeenSet() const { return m_chargeAccountIdHasBeenSet; }
76 template <typename ChargeAccountIdT = Aws::String>
77 void SetChargeAccountId(ChargeAccountIdT&& value) {
78 m_chargeAccountIdHasBeenSet = true;
79 m_chargeAccountId = std::forward<ChargeAccountIdT>(value);
80 }
81 template <typename ChargeAccountIdT = Aws::String>
82 ResoldEnterprise& WithChargeAccountId(ChargeAccountIdT&& value) {
83 SetChargeAccountId(std::forward<ChargeAccountIdT>(value));
84 return *this;
85 }
87 private:
88 Coverage m_coverage{Coverage::NOT_SET};
89
90 Aws::String m_tamLocation;
91
92 Aws::String m_chargeAccountId;
93 bool m_coverageHasBeenSet = false;
94 bool m_tamLocationHasBeenSet = false;
95 bool m_chargeAccountIdHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace PartnerCentralChannel
100} // namespace Aws
ResoldEnterprise & WithCoverage(Coverage value)
AWS_PARTNERCENTRALCHANNEL_API ResoldEnterprise(Aws::Utils::Json::JsonView jsonValue)
AWS_PARTNERCENTRALCHANNEL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PARTNERCENTRALCHANNEL_API ResoldEnterprise()=default
AWS_PARTNERCENTRALCHANNEL_API ResoldEnterprise & operator=(Aws::Utils::Json::JsonView jsonValue)
ResoldEnterprise & WithChargeAccountId(ChargeAccountIdT &&value)
ResoldEnterprise & WithTamLocation(TamLocationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue