AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
PutContactInformationRequest.h
1
6#pragma once
7#include <aws/account/Account_EXPORTS.h>
8#include <aws/account/AccountRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/account/model/ContactInformation.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Account
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_ACCOUNT_API PutContactInformationRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "PutContactInformation"; }
32
33 AWS_ACCOUNT_API Aws::String SerializePayload() const override;
34
35
37
59 inline const Aws::String& GetAccountId() const { return m_accountId; }
60 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
61 template<typename AccountIdT = Aws::String>
62 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet = true; m_accountId = std::forward<AccountIdT>(value); }
63 template<typename AccountIdT = Aws::String>
64 PutContactInformationRequest& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
66
68
72 inline const ContactInformation& GetContactInformation() const { return m_contactInformation; }
73 inline bool ContactInformationHasBeenSet() const { return m_contactInformationHasBeenSet; }
74 template<typename ContactInformationT = ContactInformation>
75 void SetContactInformation(ContactInformationT&& value) { m_contactInformationHasBeenSet = true; m_contactInformation = std::forward<ContactInformationT>(value); }
76 template<typename ContactInformationT = ContactInformation>
77 PutContactInformationRequest& WithContactInformation(ContactInformationT&& value) { SetContactInformation(std::forward<ContactInformationT>(value)); return *this;}
79 private:
80
81 Aws::String m_accountId;
82 bool m_accountIdHasBeenSet = false;
83
84 ContactInformation m_contactInformation;
85 bool m_contactInformationHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace Account
90} // namespace Aws
PutContactInformationRequest & WithContactInformation(ContactInformationT &&value)
PutContactInformationRequest & WithAccountId(AccountIdT &&value)
AWS_ACCOUNT_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
AWS_ACCOUNT_API PutContactInformationRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String