AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace CodeCatalyst
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CODECATALYST_API ExecuteCommandSessionConfiguration();
39 AWS_CODECATALYST_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetCommand() const{ return m_command; }
48 inline bool CommandHasBeenSet() const { return m_commandHasBeenSet; }
49 inline void SetCommand(const Aws::String& value) { m_commandHasBeenSet = true; m_command = value; }
50 inline void SetCommand(Aws::String&& value) { m_commandHasBeenSet = true; m_command = std::move(value); }
51 inline void SetCommand(const char* value) { m_commandHasBeenSet = true; m_command.assign(value); }
52 inline ExecuteCommandSessionConfiguration& WithCommand(const Aws::String& value) { SetCommand(value); return *this;}
53 inline ExecuteCommandSessionConfiguration& WithCommand(Aws::String&& value) { SetCommand(std::move(value)); return *this;}
54 inline ExecuteCommandSessionConfiguration& WithCommand(const char* value) { SetCommand(value); return *this;}
56
58
61 inline const Aws::Vector<Aws::String>& GetArguments() const{ return m_arguments; }
62 inline bool ArgumentsHasBeenSet() const { return m_argumentsHasBeenSet; }
63 inline void SetArguments(const Aws::Vector<Aws::String>& value) { m_argumentsHasBeenSet = true; m_arguments = value; }
64 inline void SetArguments(Aws::Vector<Aws::String>&& value) { m_argumentsHasBeenSet = true; m_arguments = std::move(value); }
67 inline ExecuteCommandSessionConfiguration& AddArguments(const Aws::String& value) { m_argumentsHasBeenSet = true; m_arguments.push_back(value); return *this; }
68 inline ExecuteCommandSessionConfiguration& AddArguments(Aws::String&& value) { m_argumentsHasBeenSet = true; m_arguments.push_back(std::move(value)); return *this; }
69 inline ExecuteCommandSessionConfiguration& AddArguments(const char* value) { m_argumentsHasBeenSet = true; m_arguments.push_back(value); return *this; }
71 private:
72
73 Aws::String m_command;
74 bool m_commandHasBeenSet = false;
75
76 Aws::Vector<Aws::String> m_arguments;
77 bool m_argumentsHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace CodeCatalyst
82} // namespace Aws
AWS_CODECATALYST_API ExecuteCommandSessionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
ExecuteCommandSessionConfiguration & WithCommand(const char *value)
ExecuteCommandSessionConfiguration & AddArguments(Aws::String &&value)
AWS_CODECATALYST_API ExecuteCommandSessionConfiguration(Aws::Utils::Json::JsonView jsonValue)
ExecuteCommandSessionConfiguration & WithArguments(const Aws::Vector< Aws::String > &value)
ExecuteCommandSessionConfiguration & WithCommand(Aws::String &&value)
ExecuteCommandSessionConfiguration & WithCommand(const Aws::String &value)
AWS_CODECATALYST_API Aws::Utils::Json::JsonValue Jsonize() const
ExecuteCommandSessionConfiguration & AddArguments(const char *value)
ExecuteCommandSessionConfiguration & AddArguments(const Aws::String &value)
ExecuteCommandSessionConfiguration & WithArguments(Aws::Vector< Aws::String > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue