AWS SDK for C++  1.9.44
AWS SDK for C++
GetChangeTokenStatusRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace WAFRegional
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "GetChangeTokenStatus"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
41  inline const Aws::String& GetChangeToken() const{ return m_changeToken; }
42 
47  inline bool ChangeTokenHasBeenSet() const { return m_changeTokenHasBeenSet; }
48 
53  inline void SetChangeToken(const Aws::String& value) { m_changeTokenHasBeenSet = true; m_changeToken = value; }
54 
59  inline void SetChangeToken(Aws::String&& value) { m_changeTokenHasBeenSet = true; m_changeToken = std::move(value); }
60 
65  inline void SetChangeToken(const char* value) { m_changeTokenHasBeenSet = true; m_changeToken.assign(value); }
66 
71  inline GetChangeTokenStatusRequest& WithChangeToken(const Aws::String& value) { SetChangeToken(value); return *this;}
72 
77  inline GetChangeTokenStatusRequest& WithChangeToken(Aws::String&& value) { SetChangeToken(std::move(value)); return *this;}
78 
83  inline GetChangeTokenStatusRequest& WithChangeToken(const char* value) { SetChangeToken(value); return *this;}
84 
85  private:
86 
87  Aws::String m_changeToken;
88  bool m_changeTokenHasBeenSet;
89  };
90 
91 } // namespace Model
92 } // namespace WAFRegional
93 } // namespace Aws
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::WAFRegional::Model::GetChangeTokenStatusRequest::GetChangeTokenStatusRequest
GetChangeTokenStatusRequest()
Aws::WAFRegional::WAFRegionalRequest
Definition: WAFRegionalRequest.h:17
Aws::WAFRegional::Model::GetChangeTokenStatusRequest::WithChangeToken
GetChangeTokenStatusRequest & WithChangeToken(const Aws::String &value)
Definition: GetChangeTokenStatusRequest.h:71
Aws::WAFRegional::Model::GetChangeTokenStatusRequest::ChangeTokenHasBeenSet
bool ChangeTokenHasBeenSet() const
Definition: GetChangeTokenStatusRequest.h:47
Aws::WAFRegional::Model::GetChangeTokenStatusRequest::SetChangeToken
void SetChangeToken(const char *value)
Definition: GetChangeTokenStatusRequest.h:65
AWS_WAFREGIONAL_API
#define AWS_WAFREGIONAL_API
Definition: WAFRegional_EXPORTS.h:28
WAFRegionalRequest.h
Aws::WAFRegional::Model::GetChangeTokenStatusRequest::WithChangeToken
GetChangeTokenStatusRequest & WithChangeToken(const char *value)
Definition: GetChangeTokenStatusRequest.h:83
Aws::WAFRegional::Model::GetChangeTokenStatusRequest::SetChangeToken
void SetChangeToken(const Aws::String &value)
Definition: GetChangeTokenStatusRequest.h:53
Aws::WAFRegional::Model::GetChangeTokenStatusRequest::GetChangeToken
const Aws::String & GetChangeToken() const
Definition: GetChangeTokenStatusRequest.h:41
Aws::WAFRegional::Model::GetChangeTokenStatusRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetChangeTokenStatusRequest.h:30
AWSString.h
Aws::WAFRegional::Model::GetChangeTokenStatusRequest
Definition: GetChangeTokenStatusRequest.h:22
WAFRegional_EXPORTS.h
Aws::WAFRegional::Model::GetChangeTokenStatusRequest::WithChangeToken
GetChangeTokenStatusRequest & WithChangeToken(Aws::String &&value)
Definition: GetChangeTokenStatusRequest.h:77
Aws::WAFRegional::Model::GetChangeTokenStatusRequest::SerializePayload
Aws::String SerializePayload() const override
Aws
Definition: AccessManagementClient.h:15
Aws::WAFRegional::Model::GetChangeTokenStatusRequest::SetChangeToken
void SetChangeToken(Aws::String &&value)
Definition: GetChangeTokenStatusRequest.h:59
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::WAFRegional::Model::GetChangeTokenStatusRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override