AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetActiveNamesResult.h
1
6#pragma once
7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Lightsail
25{
26namespace Model
27{
29 {
30 public:
31 AWS_LIGHTSAIL_API GetActiveNamesResult() = default;
34
35
37
40 inline const Aws::Vector<Aws::String>& GetActiveNames() const { return m_activeNames; }
41 template<typename ActiveNamesT = Aws::Vector<Aws::String>>
42 void SetActiveNames(ActiveNamesT&& value) { m_activeNamesHasBeenSet = true; m_activeNames = std::forward<ActiveNamesT>(value); }
43 template<typename ActiveNamesT = Aws::Vector<Aws::String>>
44 GetActiveNamesResult& WithActiveNames(ActiveNamesT&& value) { SetActiveNames(std::forward<ActiveNamesT>(value)); return *this;}
45 template<typename ActiveNamesT = Aws::String>
46 GetActiveNamesResult& AddActiveNames(ActiveNamesT&& value) { m_activeNamesHasBeenSet = true; m_activeNames.emplace_back(std::forward<ActiveNamesT>(value)); return *this; }
48
50
57 inline const Aws::String& GetNextPageToken() const { return m_nextPageToken; }
58 template<typename NextPageTokenT = Aws::String>
59 void SetNextPageToken(NextPageTokenT&& value) { m_nextPageTokenHasBeenSet = true; m_nextPageToken = std::forward<NextPageTokenT>(value); }
60 template<typename NextPageTokenT = Aws::String>
61 GetActiveNamesResult& WithNextPageToken(NextPageTokenT&& value) { SetNextPageToken(std::forward<NextPageTokenT>(value)); return *this;}
63
65
66 inline const Aws::String& GetRequestId() const { return m_requestId; }
67 template<typename RequestIdT = Aws::String>
68 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
69 template<typename RequestIdT = Aws::String>
70 GetActiveNamesResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
72 private:
73
74 Aws::Vector<Aws::String> m_activeNames;
75 bool m_activeNamesHasBeenSet = false;
76
77 Aws::String m_nextPageToken;
78 bool m_nextPageTokenHasBeenSet = false;
79
80 Aws::String m_requestId;
81 bool m_requestIdHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace Lightsail
86} // namespace Aws
GetActiveNamesResult & WithRequestId(RequestIdT &&value)
GetActiveNamesResult & WithActiveNames(ActiveNamesT &&value)
GetActiveNamesResult & AddActiveNames(ActiveNamesT &&value)
const Aws::Vector< Aws::String > & GetActiveNames() const
AWS_LIGHTSAIL_API GetActiveNamesResult()=default
GetActiveNamesResult & WithNextPageToken(NextPageTokenT &&value)
AWS_LIGHTSAIL_API GetActiveNamesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_LIGHTSAIL_API GetActiveNamesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue