AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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:
28 AWS_EMR_API SetVisibleToAllUsersRequest() = default;
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 template<typename JobFlowIdsT = Aws::Vector<Aws::String>>
48 void SetJobFlowIds(JobFlowIdsT&& value) { m_jobFlowIdsHasBeenSet = true; m_jobFlowIds = std::forward<JobFlowIdsT>(value); }
49 template<typename JobFlowIdsT = Aws::Vector<Aws::String>>
50 SetVisibleToAllUsersRequest& WithJobFlowIds(JobFlowIdsT&& value) { SetJobFlowIds(std::forward<JobFlowIdsT>(value)); return *this;}
51 template<typename JobFlowIdsT = Aws::String>
52 SetVisibleToAllUsersRequest& AddJobFlowIds(JobFlowIdsT&& value) { m_jobFlowIdsHasBeenSet = true; m_jobFlowIds.emplace_back(std::forward<JobFlowIdsT>(value)); return *this; }
54
56
63 inline bool GetVisibleToAllUsers() const { return m_visibleToAllUsers; }
64 inline bool VisibleToAllUsersHasBeenSet() const { return m_visibleToAllUsersHasBeenSet; }
65 inline void SetVisibleToAllUsers(bool value) { m_visibleToAllUsersHasBeenSet = true; m_visibleToAllUsers = value; }
66 inline SetVisibleToAllUsersRequest& WithVisibleToAllUsers(bool value) { SetVisibleToAllUsers(value); return *this;}
68 private:
69
70 Aws::Vector<Aws::String> m_jobFlowIds;
71 bool m_jobFlowIdsHasBeenSet = false;
72
73 bool m_visibleToAllUsers{false};
74 bool m_visibleToAllUsersHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace EMR
79} // namespace Aws
virtual const char * GetServiceRequestName() const override
AWS_EMR_API Aws::String SerializePayload() const override
SetVisibleToAllUsersRequest & AddJobFlowIds(JobFlowIdsT &&value)
SetVisibleToAllUsersRequest & WithJobFlowIds(JobFlowIdsT &&value)
AWS_EMR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::Vector< Aws::String > & GetJobFlowIds() const
AWS_EMR_API SetVisibleToAllUsersRequest()=default
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