AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
62 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
63 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
64 inline PutContactInformationRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
65 inline PutContactInformationRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
66 inline PutContactInformationRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
68
70
74 inline const ContactInformation& GetContactInformation() const{ return m_contactInformation; }
75 inline bool ContactInformationHasBeenSet() const { return m_contactInformationHasBeenSet; }
76 inline void SetContactInformation(const ContactInformation& value) { m_contactInformationHasBeenSet = true; m_contactInformation = value; }
77 inline void SetContactInformation(ContactInformation&& value) { m_contactInformationHasBeenSet = true; m_contactInformation = std::move(value); }
81 private:
82
83 Aws::String m_accountId;
84 bool m_accountIdHasBeenSet = false;
85
86 ContactInformation m_contactInformation;
87 bool m_contactInformationHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace Account
92} // namespace Aws
void SetContactInformation(const ContactInformation &value)
PutContactInformationRequest & WithAccountId(const Aws::String &value)
AWS_ACCOUNT_API Aws::String SerializePayload() const override
PutContactInformationRequest & WithContactInformation(ContactInformation &&value)
PutContactInformationRequest & WithAccountId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
PutContactInformationRequest & WithAccountId(const char *value)
PutContactInformationRequest & WithContactInformation(const ContactInformation &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String