AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
ExecuteCommandSessionConfiguration.h
1
6#pragma once
7#include <aws/codecatalyst/CodeCatalyst_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace CodeCatalyst {
21namespace Model {
22
30 public:
31 AWS_CODECATALYST_API ExecuteCommandSessionConfiguration() = default;
34 AWS_CODECATALYST_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::String& GetCommand() const { return m_command; }
42 inline bool CommandHasBeenSet() const { return m_commandHasBeenSet; }
43 template <typename CommandT = Aws::String>
44 void SetCommand(CommandT&& value) {
45 m_commandHasBeenSet = true;
46 m_command = std::forward<CommandT>(value);
47 }
48 template <typename CommandT = Aws::String>
50 SetCommand(std::forward<CommandT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::Vector<Aws::String>& GetArguments() const { return m_arguments; }
60 inline bool ArgumentsHasBeenSet() const { return m_argumentsHasBeenSet; }
61 template <typename ArgumentsT = Aws::Vector<Aws::String>>
62 void SetArguments(ArgumentsT&& value) {
63 m_argumentsHasBeenSet = true;
64 m_arguments = std::forward<ArgumentsT>(value);
65 }
66 template <typename ArgumentsT = Aws::Vector<Aws::String>>
68 SetArguments(std::forward<ArgumentsT>(value));
69 return *this;
70 }
71 template <typename ArgumentsT = Aws::String>
73 m_argumentsHasBeenSet = true;
74 m_arguments.emplace_back(std::forward<ArgumentsT>(value));
75 return *this;
76 }
78 private:
79 Aws::String m_command;
80
81 Aws::Vector<Aws::String> m_arguments;
82 bool m_commandHasBeenSet = false;
83 bool m_argumentsHasBeenSet = false;
84};
85
86} // namespace Model
87} // namespace CodeCatalyst
88} // namespace Aws
ExecuteCommandSessionConfiguration & AddArguments(ArgumentsT &&value)
AWS_CODECATALYST_API ExecuteCommandSessionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
ExecuteCommandSessionConfiguration & WithCommand(CommandT &&value)
AWS_CODECATALYST_API ExecuteCommandSessionConfiguration(Aws::Utils::Json::JsonView jsonValue)
ExecuteCommandSessionConfiguration & WithArguments(ArgumentsT &&value)
AWS_CODECATALYST_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CODECATALYST_API ExecuteCommandSessionConfiguration()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue