AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DeleteAlternateContactRequest.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/AlternateContactType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Account
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_ACCOUNT_API DeleteAlternateContactRequest() = 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 "DeleteAlternateContact"; }
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 DeleteAlternateContactRequest& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
66
68
71 inline AlternateContactType GetAlternateContactType() const { return m_alternateContactType; }
72 inline bool AlternateContactTypeHasBeenSet() const { return m_alternateContactTypeHasBeenSet; }
73 inline void SetAlternateContactType(AlternateContactType value) { m_alternateContactTypeHasBeenSet = true; m_alternateContactType = value; }
76 private:
77
78 Aws::String m_accountId;
79 bool m_accountIdHasBeenSet = false;
80
82 bool m_alternateContactTypeHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace Account
87} // namespace Aws
AWS_ACCOUNT_API DeleteAlternateContactRequest()=default
DeleteAlternateContactRequest & WithAccountId(AccountIdT &&value)
DeleteAlternateContactRequest & WithAlternateContactType(AlternateContactType value)
AWS_ACCOUNT_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String