AWS SDK for C++

AWS SDK for C++ Version 1.11.764

Loading...
Searching...
No Matches
RevokeServicePeriodPayload.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/partnercentral-channel/PartnerCentralChannel_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace PartnerCentralChannel {
20namespace Model {
21
29 public:
30 AWS_PARTNERCENTRALCHANNEL_API RevokeServicePeriodPayload() = default;
31 AWS_PARTNERCENTRALCHANNEL_API RevokeServicePeriodPayload(Aws::Utils::Json::JsonView jsonValue);
32 AWS_PARTNERCENTRALCHANNEL_API RevokeServicePeriodPayload& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_PARTNERCENTRALCHANNEL_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetProgramManagementAccountIdentifier() const { return m_programManagementAccountIdentifier; }
40 inline bool ProgramManagementAccountIdentifierHasBeenSet() const { return m_programManagementAccountIdentifierHasBeenSet; }
41 template <typename ProgramManagementAccountIdentifierT = Aws::String>
42 void SetProgramManagementAccountIdentifier(ProgramManagementAccountIdentifierT&& value) {
43 m_programManagementAccountIdentifierHasBeenSet = true;
44 m_programManagementAccountIdentifier = std::forward<ProgramManagementAccountIdentifierT>(value);
45 }
46 template <typename ProgramManagementAccountIdentifierT = Aws::String>
47 RevokeServicePeriodPayload& WithProgramManagementAccountIdentifier(ProgramManagementAccountIdentifierT&& value) {
48 SetProgramManagementAccountIdentifier(std::forward<ProgramManagementAccountIdentifierT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetNote() const { return m_note; }
58 inline bool NoteHasBeenSet() const { return m_noteHasBeenSet; }
59 template <typename NoteT = Aws::String>
60 void SetNote(NoteT&& value) {
61 m_noteHasBeenSet = true;
62 m_note = std::forward<NoteT>(value);
63 }
64 template <typename NoteT = Aws::String>
66 SetNote(std::forward<NoteT>(value));
67 return *this;
68 }
70 private:
71 Aws::String m_programManagementAccountIdentifier;
72
73 Aws::String m_note;
74 bool m_programManagementAccountIdentifierHasBeenSet = false;
75 bool m_noteHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace PartnerCentralChannel
80} // namespace Aws
AWS_PARTNERCENTRALCHANNEL_API RevokeServicePeriodPayload()=default
void SetProgramManagementAccountIdentifier(ProgramManagementAccountIdentifierT &&value)
RevokeServicePeriodPayload & WithProgramManagementAccountIdentifier(ProgramManagementAccountIdentifierT &&value)
AWS_PARTNERCENTRALCHANNEL_API RevokeServicePeriodPayload(Aws::Utils::Json::JsonView jsonValue)
AWS_PARTNERCENTRALCHANNEL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PARTNERCENTRALCHANNEL_API RevokeServicePeriodPayload & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue