AWS SDK for C++  1.9.19
AWS SDK for C++
SetVisibleToAllUsersRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace EMR
16 {
17 namespace Model
18 {
19 
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 "SetVisibleToAllUsers"; }
35 
36  Aws::String SerializePayload() const override;
37 
39 
40 
44  inline const Aws::Vector<Aws::String>& GetJobFlowIds() const{ return m_jobFlowIds; }
45 
49  inline bool JobFlowIdsHasBeenSet() const { return m_jobFlowIdsHasBeenSet; }
50 
54  inline void SetJobFlowIds(const Aws::Vector<Aws::String>& value) { m_jobFlowIdsHasBeenSet = true; m_jobFlowIds = value; }
55 
59  inline void SetJobFlowIds(Aws::Vector<Aws::String>&& value) { m_jobFlowIdsHasBeenSet = true; m_jobFlowIds = std::move(value); }
60 
64  inline SetVisibleToAllUsersRequest& WithJobFlowIds(const Aws::Vector<Aws::String>& value) { SetJobFlowIds(value); return *this;}
65 
69  inline SetVisibleToAllUsersRequest& WithJobFlowIds(Aws::Vector<Aws::String>&& value) { SetJobFlowIds(std::move(value)); return *this;}
70 
74  inline SetVisibleToAllUsersRequest& AddJobFlowIds(const Aws::String& value) { m_jobFlowIdsHasBeenSet = true; m_jobFlowIds.push_back(value); return *this; }
75 
79  inline SetVisibleToAllUsersRequest& AddJobFlowIds(Aws::String&& value) { m_jobFlowIdsHasBeenSet = true; m_jobFlowIds.push_back(std::move(value)); return *this; }
80 
84  inline SetVisibleToAllUsersRequest& AddJobFlowIds(const char* value) { m_jobFlowIdsHasBeenSet = true; m_jobFlowIds.push_back(value); return *this; }
85 
86 
93  inline bool GetVisibleToAllUsers() const{ return m_visibleToAllUsers; }
94 
101  inline bool VisibleToAllUsersHasBeenSet() const { return m_visibleToAllUsersHasBeenSet; }
102 
109  inline void SetVisibleToAllUsers(bool value) { m_visibleToAllUsersHasBeenSet = true; m_visibleToAllUsers = value; }
110 
117  inline SetVisibleToAllUsersRequest& WithVisibleToAllUsers(bool value) { SetVisibleToAllUsers(value); return *this;}
118 
119  private:
120 
121  Aws::Vector<Aws::String> m_jobFlowIds;
122  bool m_jobFlowIdsHasBeenSet;
123 
124  bool m_visibleToAllUsers;
125  bool m_visibleToAllUsersHasBeenSet;
126  };
127 
128 } // namespace Model
129 } // namespace EMR
130 } // namespace Aws
Aws::EMR::Model::SetVisibleToAllUsersRequest::GetJobFlowIds
const Aws::Vector< Aws::String > & GetJobFlowIds() const
Definition: SetVisibleToAllUsersRequest.h:44
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
EMR_EXPORTS.h
EMRRequest.h
Aws::EMR::Model::SetVisibleToAllUsersRequest::WithVisibleToAllUsers
SetVisibleToAllUsersRequest & WithVisibleToAllUsers(bool value)
Definition: SetVisibleToAllUsersRequest.h:117
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::EMR::Model::SetVisibleToAllUsersRequest::AddJobFlowIds
SetVisibleToAllUsersRequest & AddJobFlowIds(const char *value)
Definition: SetVisibleToAllUsersRequest.h:84
Aws::EMR::Model::SetVisibleToAllUsersRequest::SetVisibleToAllUsers
void SetVisibleToAllUsers(bool value)
Definition: SetVisibleToAllUsersRequest.h:109
AWSVector.h
Aws::EMR::Model::SetVisibleToAllUsersRequest::JobFlowIdsHasBeenSet
bool JobFlowIdsHasBeenSet() const
Definition: SetVisibleToAllUsersRequest.h:49
Aws::EMR::Model::SetVisibleToAllUsersRequest::GetVisibleToAllUsers
bool GetVisibleToAllUsers() const
Definition: SetVisibleToAllUsersRequest.h:93
Aws::EMR::Model::SetVisibleToAllUsersRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: SetVisibleToAllUsersRequest.h:34
Aws::EMR::EMRRequest
Definition: EMRRequest.h:17
Aws::EMR::Model::SetVisibleToAllUsersRequest::SetJobFlowIds
void SetJobFlowIds(Aws::Vector< Aws::String > &&value)
Definition: SetVisibleToAllUsersRequest.h:59
Aws::EMR::Model::ExecutionEngineType::NOT_SET
@ NOT_SET
AWSString.h
Aws::EMR::Model::SetVisibleToAllUsersRequest::SetJobFlowIds
void SetJobFlowIds(const Aws::Vector< Aws::String > &value)
Definition: SetVisibleToAllUsersRequest.h:54
Aws::EMR::Model::SetVisibleToAllUsersRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::EMR::Model::SetVisibleToAllUsersRequest::AddJobFlowIds
SetVisibleToAllUsersRequest & AddJobFlowIds(Aws::String &&value)
Definition: SetVisibleToAllUsersRequest.h:79
Aws::EMR::Model::SetVisibleToAllUsersRequest::WithJobFlowIds
SetVisibleToAllUsersRequest & WithJobFlowIds(const Aws::Vector< Aws::String > &value)
Definition: SetVisibleToAllUsersRequest.h:64
Aws::EMR::Model::SetVisibleToAllUsersRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::EMR::Model::SetVisibleToAllUsersRequest::AddJobFlowIds
SetVisibleToAllUsersRequest & AddJobFlowIds(const Aws::String &value)
Definition: SetVisibleToAllUsersRequest.h:74
Aws
Definition: AccessManagementClient.h:15
Aws::EMR::Model::SetVisibleToAllUsersRequest
Definition: SetVisibleToAllUsersRequest.h:26
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EMR::Model::SetVisibleToAllUsersRequest::SetVisibleToAllUsersRequest
SetVisibleToAllUsersRequest()
Aws::EMR::Model::SetVisibleToAllUsersRequest::WithJobFlowIds
SetVisibleToAllUsersRequest & WithJobFlowIds(Aws::Vector< Aws::String > &&value)
Definition: SetVisibleToAllUsersRequest.h:69
Aws::EMR::Model::SetVisibleToAllUsersRequest::VisibleToAllUsersHasBeenSet
bool VisibleToAllUsersHasBeenSet() const
Definition: SetVisibleToAllUsersRequest.h:101
AWS_EMR_API
#define AWS_EMR_API
Definition: EMR_EXPORTS.h:28