AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SetVisibleToAllUsersRequest.h
1
6#pragma once
7#include <aws/elasticmapreduce/EMR_EXPORTS.h>
8#include <aws/elasticmapreduce/EMRRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace EMR
16{
17namespace 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_EMR_API Aws::String SerializePayload() const override;
37
39
40
42
45 inline const Aws::Vector<Aws::String>& GetJobFlowIds() const{ return m_jobFlowIds; }
46 inline bool JobFlowIdsHasBeenSet() const { return m_jobFlowIdsHasBeenSet; }
47 inline void SetJobFlowIds(const Aws::Vector<Aws::String>& value) { m_jobFlowIdsHasBeenSet = true; m_jobFlowIds = value; }
48 inline void SetJobFlowIds(Aws::Vector<Aws::String>&& value) { m_jobFlowIdsHasBeenSet = true; m_jobFlowIds = std::move(value); }
50 inline SetVisibleToAllUsersRequest& WithJobFlowIds(Aws::Vector<Aws::String>&& value) { SetJobFlowIds(std::move(value)); return *this;}
51 inline SetVisibleToAllUsersRequest& AddJobFlowIds(const Aws::String& value) { m_jobFlowIdsHasBeenSet = true; m_jobFlowIds.push_back(value); return *this; }
52 inline SetVisibleToAllUsersRequest& AddJobFlowIds(Aws::String&& value) { m_jobFlowIdsHasBeenSet = true; m_jobFlowIds.push_back(std::move(value)); return *this; }
53 inline SetVisibleToAllUsersRequest& AddJobFlowIds(const char* value) { m_jobFlowIdsHasBeenSet = true; m_jobFlowIds.push_back(value); return *this; }
55
57
64 inline bool GetVisibleToAllUsers() const{ return m_visibleToAllUsers; }
65 inline bool VisibleToAllUsersHasBeenSet() const { return m_visibleToAllUsersHasBeenSet; }
66 inline void SetVisibleToAllUsers(bool value) { m_visibleToAllUsersHasBeenSet = true; m_visibleToAllUsers = value; }
67 inline SetVisibleToAllUsersRequest& WithVisibleToAllUsers(bool value) { SetVisibleToAllUsers(value); return *this;}
69 private:
70
71 Aws::Vector<Aws::String> m_jobFlowIds;
72 bool m_jobFlowIdsHasBeenSet = false;
73
74 bool m_visibleToAllUsers;
75 bool m_visibleToAllUsersHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace EMR
80} // namespace Aws
void SetJobFlowIds(Aws::Vector< Aws::String > &&value)
SetVisibleToAllUsersRequest & AddJobFlowIds(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
AWS_EMR_API Aws::String SerializePayload() const override
SetVisibleToAllUsersRequest & AddJobFlowIds(Aws::String &&value)
void SetJobFlowIds(const Aws::Vector< Aws::String > &value)
AWS_EMR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::Vector< Aws::String > & GetJobFlowIds() const
SetVisibleToAllUsersRequest & AddJobFlowIds(const char *value)
SetVisibleToAllUsersRequest & WithJobFlowIds(const Aws::Vector< Aws::String > &value)
SetVisibleToAllUsersRequest & WithJobFlowIds(Aws::Vector< Aws::String > &&value)
SetVisibleToAllUsersRequest & WithVisibleToAllUsers(bool value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector