AWS SDK for C++  1.8.71
AWS SDK for C++
ListBootstrapActionsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace EMR
15 {
16 namespace Model
17 {
18 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "ListBootstrapActions"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
39 
40 
44  inline const Aws::String& GetClusterId() const{ return m_clusterId; }
45 
49  inline bool ClusterIdHasBeenSet() const { return m_clusterIdHasBeenSet; }
50 
54  inline void SetClusterId(const Aws::String& value) { m_clusterIdHasBeenSet = true; m_clusterId = value; }
55 
59  inline void SetClusterId(Aws::String&& value) { m_clusterIdHasBeenSet = true; m_clusterId = std::move(value); }
60 
64  inline void SetClusterId(const char* value) { m_clusterIdHasBeenSet = true; m_clusterId.assign(value); }
65 
69  inline ListBootstrapActionsRequest& WithClusterId(const Aws::String& value) { SetClusterId(value); return *this;}
70 
74  inline ListBootstrapActionsRequest& WithClusterId(Aws::String&& value) { SetClusterId(std::move(value)); return *this;}
75 
79  inline ListBootstrapActionsRequest& WithClusterId(const char* value) { SetClusterId(value); return *this;}
80 
81 
85  inline const Aws::String& GetMarker() const{ return m_marker; }
86 
90  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
91 
95  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
96 
100  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
101 
105  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
106 
110  inline ListBootstrapActionsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
111 
115  inline ListBootstrapActionsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
116 
120  inline ListBootstrapActionsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
121 
122  private:
123 
124  Aws::String m_clusterId;
125  bool m_clusterIdHasBeenSet;
126 
127  Aws::String m_marker;
128  bool m_markerHasBeenSet;
129  };
130 
131 } // namespace Model
132 } // namespace EMR
133 } // namespace Aws
ListBootstrapActionsRequest & WithClusterId(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
virtual const char * GetServiceRequestName() const override
ListBootstrapActionsRequest & WithClusterId(const char *value)
ListBootstrapActionsRequest & WithClusterId(Aws::String &&value)
ListBootstrapActionsRequest & WithMarker(const Aws::String &value)
ListBootstrapActionsRequest & WithMarker(Aws::String &&value)
ListBootstrapActionsRequest & WithMarker(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
#define AWS_EMR_API
Definition: EMR_EXPORTS.h:28