AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OutputSource.h
1
6#pragma once
7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SSM
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SSM_API OutputSource();
39
40
42
45 inline const Aws::String& GetOutputSourceId() const{ return m_outputSourceId; }
46 inline bool OutputSourceIdHasBeenSet() const { return m_outputSourceIdHasBeenSet; }
47 inline void SetOutputSourceId(const Aws::String& value) { m_outputSourceIdHasBeenSet = true; m_outputSourceId = value; }
48 inline void SetOutputSourceId(Aws::String&& value) { m_outputSourceIdHasBeenSet = true; m_outputSourceId = std::move(value); }
49 inline void SetOutputSourceId(const char* value) { m_outputSourceIdHasBeenSet = true; m_outputSourceId.assign(value); }
50 inline OutputSource& WithOutputSourceId(const Aws::String& value) { SetOutputSourceId(value); return *this;}
51 inline OutputSource& WithOutputSourceId(Aws::String&& value) { SetOutputSourceId(std::move(value)); return *this;}
52 inline OutputSource& WithOutputSourceId(const char* value) { SetOutputSourceId(value); return *this;}
54
56
60 inline const Aws::String& GetOutputSourceType() const{ return m_outputSourceType; }
61 inline bool OutputSourceTypeHasBeenSet() const { return m_outputSourceTypeHasBeenSet; }
62 inline void SetOutputSourceType(const Aws::String& value) { m_outputSourceTypeHasBeenSet = true; m_outputSourceType = value; }
63 inline void SetOutputSourceType(Aws::String&& value) { m_outputSourceTypeHasBeenSet = true; m_outputSourceType = std::move(value); }
64 inline void SetOutputSourceType(const char* value) { m_outputSourceTypeHasBeenSet = true; m_outputSourceType.assign(value); }
65 inline OutputSource& WithOutputSourceType(const Aws::String& value) { SetOutputSourceType(value); return *this;}
66 inline OutputSource& WithOutputSourceType(Aws::String&& value) { SetOutputSourceType(std::move(value)); return *this;}
67 inline OutputSource& WithOutputSourceType(const char* value) { SetOutputSourceType(value); return *this;}
69 private:
70
71 Aws::String m_outputSourceId;
72 bool m_outputSourceIdHasBeenSet = false;
73
74 Aws::String m_outputSourceType;
75 bool m_outputSourceTypeHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace SSM
80} // namespace Aws
void SetOutputSourceId(Aws::String &&value)
const Aws::String & GetOutputSourceId() const
OutputSource & WithOutputSourceType(Aws::String &&value)
const Aws::String & GetOutputSourceType() const
void SetOutputSourceType(const Aws::String &value)
AWS_SSM_API OutputSource & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SSM_API OutputSource(Aws::Utils::Json::JsonView jsonValue)
void SetOutputSourceType(const char *value)
OutputSource & WithOutputSourceType(const Aws::String &value)
void SetOutputSourceType(Aws::String &&value)
void SetOutputSourceId(const char *value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
bool OutputSourceTypeHasBeenSet() const
OutputSource & WithOutputSourceId(Aws::String &&value)
void SetOutputSourceId(const Aws::String &value)
OutputSource & WithOutputSourceId(const char *value)
OutputSource & WithOutputSourceType(const char *value)
bool OutputSourceIdHasBeenSet() const
OutputSource & WithOutputSourceId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue