AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListBuildsRequest.h
1
6#pragma once
7#include <aws/gamelift/GameLift_EXPORTS.h>
8#include <aws/gamelift/GameLiftRequest.h>
9#include <aws/gamelift/model/BuildStatus.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace GameLift
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_GAMELIFT_API ListBuildsRequest();
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 "ListBuilds"; }
32
33 AWS_GAMELIFT_API Aws::String SerializePayload() const override;
34
36
37
39
50 inline const BuildStatus& GetStatus() const{ return m_status; }
51 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
52 inline void SetStatus(const BuildStatus& value) { m_statusHasBeenSet = true; m_status = value; }
53 inline void SetStatus(BuildStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
54 inline ListBuildsRequest& WithStatus(const BuildStatus& value) { SetStatus(value); return *this;}
55 inline ListBuildsRequest& WithStatus(BuildStatus&& value) { SetStatus(std::move(value)); return *this;}
57
59
63 inline int GetLimit() const{ return m_limit; }
64 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
65 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
66 inline ListBuildsRequest& WithLimit(int value) { SetLimit(value); return *this;}
68
70
75 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
76 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
77 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
78 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
79 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
80 inline ListBuildsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
81 inline ListBuildsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
82 inline ListBuildsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
84 private:
85
86 BuildStatus m_status;
87 bool m_statusHasBeenSet = false;
88
89 int m_limit;
90 bool m_limitHasBeenSet = false;
91
92 Aws::String m_nextToken;
93 bool m_nextTokenHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace GameLift
98} // namespace Aws
ListBuildsRequest & WithNextToken(const char *value)
ListBuildsRequest & WithLimit(int value)
void SetNextToken(const Aws::String &value)
ListBuildsRequest & WithNextToken(const Aws::String &value)
const Aws::String & GetNextToken() const
ListBuildsRequest & WithNextToken(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
AWS_GAMELIFT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetStatus(const BuildStatus &value)
const BuildStatus & GetStatus() const
ListBuildsRequest & WithStatus(const BuildStatus &value)
ListBuildsRequest & WithStatus(BuildStatus &&value)
AWS_GAMELIFT_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String