AWS SDK for C++

AWS SDK for C++ Version 1.11.637

Loading...
Searching...
No Matches
DescribeCanariesLastRunRequest.h
1
6#pragma once
7#include <aws/synthetics/Synthetics_EXPORTS.h>
8#include <aws/synthetics/SyntheticsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/synthetics/model/BrowserType.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Synthetics
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_SYNTHETICS_API DescribeCanariesLastRunRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "DescribeCanariesLastRun"; }
33
34 AWS_SYNTHETICS_API Aws::String SerializePayload() const override;
35
36
38
43 inline const Aws::String& GetNextToken() const { return m_nextToken; }
44 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
45 template<typename NextTokenT = Aws::String>
46 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
47 template<typename NextTokenT = Aws::String>
48 DescribeCanariesLastRunRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
50
52
57 inline int GetMaxResults() const { return m_maxResults; }
58 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
59 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
60 inline DescribeCanariesLastRunRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
62
64
76 inline const Aws::Vector<Aws::String>& GetNames() const { return m_names; }
77 inline bool NamesHasBeenSet() const { return m_namesHasBeenSet; }
78 template<typename NamesT = Aws::Vector<Aws::String>>
79 void SetNames(NamesT&& value) { m_namesHasBeenSet = true; m_names = std::forward<NamesT>(value); }
80 template<typename NamesT = Aws::Vector<Aws::String>>
81 DescribeCanariesLastRunRequest& WithNames(NamesT&& value) { SetNames(std::forward<NamesT>(value)); return *this;}
82 template<typename NamesT = Aws::String>
83 DescribeCanariesLastRunRequest& AddNames(NamesT&& value) { m_namesHasBeenSet = true; m_names.emplace_back(std::forward<NamesT>(value)); return *this; }
85
87
90 inline BrowserType GetBrowserType() const { return m_browserType; }
91 inline bool BrowserTypeHasBeenSet() const { return m_browserTypeHasBeenSet; }
92 inline void SetBrowserType(BrowserType value) { m_browserTypeHasBeenSet = true; m_browserType = value; }
95 private:
96
97 Aws::String m_nextToken;
98 bool m_nextTokenHasBeenSet = false;
99
100 int m_maxResults{0};
101 bool m_maxResultsHasBeenSet = false;
102
104 bool m_namesHasBeenSet = false;
105
106 BrowserType m_browserType{BrowserType::NOT_SET};
107 bool m_browserTypeHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace Synthetics
112} // namespace Aws
AWS_SYNTHETICS_API Aws::String SerializePayload() const override
DescribeCanariesLastRunRequest & WithBrowserType(BrowserType value)
DescribeCanariesLastRunRequest & WithNames(NamesT &&value)
DescribeCanariesLastRunRequest & AddNames(NamesT &&value)
DescribeCanariesLastRunRequest & WithNextToken(NextTokenT &&value)
AWS_SYNTHETICS_API DescribeCanariesLastRunRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector