AWS SDK for C++  1.9.20
AWS SDK for C++
ListBootstrapActionsResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace EMR
26 {
27 namespace Model
28 {
36  {
37  public:
41 
42 
46  inline const Aws::Vector<Command>& GetBootstrapActions() const{ return m_bootstrapActions; }
47 
51  inline void SetBootstrapActions(const Aws::Vector<Command>& value) { m_bootstrapActions = value; }
52 
56  inline void SetBootstrapActions(Aws::Vector<Command>&& value) { m_bootstrapActions = std::move(value); }
57 
61  inline ListBootstrapActionsResult& WithBootstrapActions(const Aws::Vector<Command>& value) { SetBootstrapActions(value); return *this;}
62 
66  inline ListBootstrapActionsResult& WithBootstrapActions(Aws::Vector<Command>&& value) { SetBootstrapActions(std::move(value)); return *this;}
67 
71  inline ListBootstrapActionsResult& AddBootstrapActions(const Command& value) { m_bootstrapActions.push_back(value); return *this; }
72 
76  inline ListBootstrapActionsResult& AddBootstrapActions(Command&& value) { m_bootstrapActions.push_back(std::move(value)); return *this; }
77 
78 
82  inline const Aws::String& GetMarker() const{ return m_marker; }
83 
87  inline void SetMarker(const Aws::String& value) { m_marker = value; }
88 
92  inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
93 
97  inline void SetMarker(const char* value) { m_marker.assign(value); }
98 
102  inline ListBootstrapActionsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
103 
107  inline ListBootstrapActionsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
108 
112  inline ListBootstrapActionsResult& WithMarker(const char* value) { SetMarker(value); return *this;}
113 
114  private:
115 
116  Aws::Vector<Command> m_bootstrapActions;
117 
118  Aws::String m_marker;
119  };
120 
121 } // namespace Model
122 } // namespace EMR
123 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
EMR_EXPORTS.h
Aws::EMR::Model::ListBootstrapActionsResult::SetMarker
void SetMarker(const char *value)
Definition: ListBootstrapActionsResult.h:97
Aws::EMR::Model::ListBootstrapActionsResult::WithBootstrapActions
ListBootstrapActionsResult & WithBootstrapActions(Aws::Vector< Command > &&value)
Definition: ListBootstrapActionsResult.h:66
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Command.h
Aws::EMR::Model::ListBootstrapActionsResult::WithMarker
ListBootstrapActionsResult & WithMarker(Aws::String &&value)
Definition: ListBootstrapActionsResult.h:107
Aws::EMR::Model::ListBootstrapActionsResult::WithMarker
ListBootstrapActionsResult & WithMarker(const Aws::String &value)
Definition: ListBootstrapActionsResult.h:102
Aws::EMR::Model::ListBootstrapActionsResult::AddBootstrapActions
ListBootstrapActionsResult & AddBootstrapActions(const Command &value)
Definition: ListBootstrapActionsResult.h:71
Aws::EMR::Model::ListBootstrapActionsResult::SetMarker
void SetMarker(Aws::String &&value)
Definition: ListBootstrapActionsResult.h:92
Aws::EMR::Model::ListBootstrapActionsResult::GetBootstrapActions
const Aws::Vector< Command > & GetBootstrapActions() const
Definition: ListBootstrapActionsResult.h:46
Aws::EMR::Model::ListBootstrapActionsResult::WithBootstrapActions
ListBootstrapActionsResult & WithBootstrapActions(const Aws::Vector< Command > &value)
Definition: ListBootstrapActionsResult.h:61
Aws::EMR::Model::ListBootstrapActionsResult::AddBootstrapActions
ListBootstrapActionsResult & AddBootstrapActions(Command &&value)
Definition: ListBootstrapActionsResult.h:76
Aws::EMR::Model::ExecutionEngineType::NOT_SET
@ NOT_SET
AWSString.h
Aws::EMR::Model::Command
Definition: Command.h:34
Aws::EMR::Model::ListBootstrapActionsResult::SetBootstrapActions
void SetBootstrapActions(const Aws::Vector< Command > &value)
Definition: ListBootstrapActionsResult.h:51
Aws::EMR::Model::ListBootstrapActionsResult
Definition: ListBootstrapActionsResult.h:36
Aws::EMR::Model::ListBootstrapActionsResult::WithMarker
ListBootstrapActionsResult & WithMarker(const char *value)
Definition: ListBootstrapActionsResult.h:112
Aws
Definition: AccessManagementClient.h:15
Aws::EMR::Model::ListBootstrapActionsResult::ListBootstrapActionsResult
ListBootstrapActionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::EMR::Model::ListBootstrapActionsResult::SetBootstrapActions
void SetBootstrapActions(Aws::Vector< Command > &&value)
Definition: ListBootstrapActionsResult.h:56
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EMR::Model::ListBootstrapActionsResult::SetMarker
void SetMarker(const Aws::String &value)
Definition: ListBootstrapActionsResult.h:87
Aws::EMR::Model::ListBootstrapActionsResult::ListBootstrapActionsResult
ListBootstrapActionsResult()
Aws::EMR::Model::ListBootstrapActionsResult::operator=
ListBootstrapActionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_EMR_API
#define AWS_EMR_API
Definition: EMR_EXPORTS.h:28
Aws::EMR::Model::ListBootstrapActionsResult::GetMarker
const Aws::String & GetMarker() const
Definition: ListBootstrapActionsResult.h:82