AWS SDK for C++  1.9.131
AWS SDK for C++
ListAssessmentFrameworksRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Http
16 {
17  class URI;
18 } //namespace Http
19 namespace AuditManager
20 {
21 namespace Model
22 {
23 
27  {
28  public:
30 
31  // Service request name is the Operation name which will send this request out,
32  // each operation should has unique request name, so that we can get operation's name from this request.
33  // Note: this is not true for response, multiple operations may have the same response name,
34  // so we can not get operation's name from response.
35  inline virtual const char* GetServiceRequestName() const override { return "ListAssessmentFrameworks"; }
36 
37  Aws::String SerializePayload() const override;
38 
39  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40 
41 
46  inline const FrameworkType& GetFrameworkType() const{ return m_frameworkType; }
47 
52  inline bool FrameworkTypeHasBeenSet() const { return m_frameworkTypeHasBeenSet; }
53 
58  inline void SetFrameworkType(const FrameworkType& value) { m_frameworkTypeHasBeenSet = true; m_frameworkType = value; }
59 
64  inline void SetFrameworkType(FrameworkType&& value) { m_frameworkTypeHasBeenSet = true; m_frameworkType = std::move(value); }
65 
70  inline ListAssessmentFrameworksRequest& WithFrameworkType(const FrameworkType& value) { SetFrameworkType(value); return *this;}
71 
76  inline ListAssessmentFrameworksRequest& WithFrameworkType(FrameworkType&& value) { SetFrameworkType(std::move(value)); return *this;}
77 
78 
82  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
83 
87  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
88 
92  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
93 
97  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
98 
102  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
103 
107  inline ListAssessmentFrameworksRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
108 
112  inline ListAssessmentFrameworksRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
113 
117  inline ListAssessmentFrameworksRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
118 
119 
124  inline int GetMaxResults() const{ return m_maxResults; }
125 
130  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
131 
136  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
137 
142  inline ListAssessmentFrameworksRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
143 
144  private:
145 
146  FrameworkType m_frameworkType;
147  bool m_frameworkTypeHasBeenSet;
148 
149  Aws::String m_nextToken;
150  bool m_nextTokenHasBeenSet;
151 
152  int m_maxResults;
153  bool m_maxResultsHasBeenSet;
154  };
155 
156 } // namespace Model
157 } // namespace AuditManager
158 } // namespace Aws
Aws::AuditManager::Model::ListAssessmentFrameworksRequest::SetFrameworkType
void SetFrameworkType(const FrameworkType &value)
Definition: ListAssessmentFrameworksRequest.h:58
Aws::Http::URI
Definition: URI.h:32
Aws::AuditManager::AuditManagerRequest
Definition: AuditManagerRequest.h:17
Aws::AuditManager::Model::ListAssessmentFrameworksRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListAssessmentFrameworksRequest.h:82
Aws::AuditManager::Model::ListAssessmentFrameworksRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListAssessmentFrameworksRequest.h:35
Aws::AuditManager::Model::ListAssessmentFrameworksRequest::WithFrameworkType
ListAssessmentFrameworksRequest & WithFrameworkType(FrameworkType &&value)
Definition: ListAssessmentFrameworksRequest.h:76
Aws::AuditManager::Model::ListAssessmentFrameworksRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::AuditManager::Model::ListAssessmentFrameworksRequest::WithFrameworkType
ListAssessmentFrameworksRequest & WithFrameworkType(const FrameworkType &value)
Definition: ListAssessmentFrameworksRequest.h:70
Aws::AuditManager::Model::ListAssessmentFrameworksRequest::GetMaxResults
int GetMaxResults() const
Definition: ListAssessmentFrameworksRequest.h:124
Aws::AuditManager::Model::ListAssessmentFrameworksRequest::WithNextToken
ListAssessmentFrameworksRequest & WithNextToken(Aws::String &&value)
Definition: ListAssessmentFrameworksRequest.h:112
Aws::AuditManager::Model::ListAssessmentFrameworksRequest
Definition: ListAssessmentFrameworksRequest.h:27
Aws::AuditManager::Model::ListAssessmentFrameworksRequest::GetFrameworkType
const FrameworkType & GetFrameworkType() const
Definition: ListAssessmentFrameworksRequest.h:46
Aws::AuditManager::Model::ListAssessmentFrameworksRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListAssessmentFrameworksRequest.h:136
Aws::AuditManager::Model::ListAssessmentFrameworksRequest::ListAssessmentFrameworksRequest
ListAssessmentFrameworksRequest()
Aws::AuditManager::Model::ListAssessmentFrameworksRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListAssessmentFrameworksRequest.h:87
Aws::AuditManager::Model::ListAssessmentFrameworksRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListAssessmentFrameworksRequest.h:130
Aws::AuditManager::Model::ListAssessmentFrameworksRequest::SetFrameworkType
void SetFrameworkType(FrameworkType &&value)
Definition: ListAssessmentFrameworksRequest.h:64
Aws::AuditManager::Model::ListAssessmentFrameworksRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::AuditManager::Model::ListAssessmentFrameworksRequest::FrameworkTypeHasBeenSet
bool FrameworkTypeHasBeenSet() const
Definition: ListAssessmentFrameworksRequest.h:52
AWS_AUDITMANAGER_API
#define AWS_AUDITMANAGER_API
Definition: AuditManager_EXPORTS.h:28
Aws::AuditManager::Model::ListAssessmentFrameworksRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListAssessmentFrameworksRequest.h:92
AWSString.h
AuditManager_EXPORTS.h
AuditManagerRequest.h
Aws::AuditManager::Model::ListAssessmentFrameworksRequest::WithMaxResults
ListAssessmentFrameworksRequest & WithMaxResults(int value)
Definition: ListAssessmentFrameworksRequest.h:142
Aws::AuditManager::Model::ListAssessmentFrameworksRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListAssessmentFrameworksRequest.h:97
Aws::AuditManager::Model::ListAssessmentFrameworksRequest::WithNextToken
ListAssessmentFrameworksRequest & WithNextToken(const char *value)
Definition: ListAssessmentFrameworksRequest.h:117
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AuditManager::Model::ListAssessmentFrameworksRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListAssessmentFrameworksRequest.h:102
FrameworkType.h
Aws::AuditManager::Model::ListAssessmentFrameworksRequest::WithNextToken
ListAssessmentFrameworksRequest & WithNextToken(const Aws::String &value)
Definition: ListAssessmentFrameworksRequest.h:107
Aws::AuditManager::Model::FrameworkType
FrameworkType
Definition: FrameworkType.h:17