AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TemplateSSMDocumentDetails.h
1
6#pragma once
7#include <aws/config/ConfigService_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 ConfigService
22{
23namespace Model
24{
25
39 {
40 public:
41 AWS_CONFIGSERVICE_API TemplateSSMDocumentDetails();
44 AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
53 inline const Aws::String& GetDocumentName() const{ return m_documentName; }
54 inline bool DocumentNameHasBeenSet() const { return m_documentNameHasBeenSet; }
55 inline void SetDocumentName(const Aws::String& value) { m_documentNameHasBeenSet = true; m_documentName = value; }
56 inline void SetDocumentName(Aws::String&& value) { m_documentNameHasBeenSet = true; m_documentName = std::move(value); }
57 inline void SetDocumentName(const char* value) { m_documentNameHasBeenSet = true; m_documentName.assign(value); }
58 inline TemplateSSMDocumentDetails& WithDocumentName(const Aws::String& value) { SetDocumentName(value); return *this;}
59 inline TemplateSSMDocumentDetails& WithDocumentName(Aws::String&& value) { SetDocumentName(std::move(value)); return *this;}
60 inline TemplateSSMDocumentDetails& WithDocumentName(const char* value) { SetDocumentName(value); return *this;}
62
64
69 inline const Aws::String& GetDocumentVersion() const{ return m_documentVersion; }
70 inline bool DocumentVersionHasBeenSet() const { return m_documentVersionHasBeenSet; }
71 inline void SetDocumentVersion(const Aws::String& value) { m_documentVersionHasBeenSet = true; m_documentVersion = value; }
72 inline void SetDocumentVersion(Aws::String&& value) { m_documentVersionHasBeenSet = true; m_documentVersion = std::move(value); }
73 inline void SetDocumentVersion(const char* value) { m_documentVersionHasBeenSet = true; m_documentVersion.assign(value); }
75 inline TemplateSSMDocumentDetails& WithDocumentVersion(Aws::String&& value) { SetDocumentVersion(std::move(value)); return *this;}
76 inline TemplateSSMDocumentDetails& WithDocumentVersion(const char* value) { SetDocumentVersion(value); return *this;}
78 private:
79
80 Aws::String m_documentName;
81 bool m_documentNameHasBeenSet = false;
82
83 Aws::String m_documentVersion;
84 bool m_documentVersionHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace ConfigService
89} // namespace Aws
TemplateSSMDocumentDetails & WithDocumentName(const Aws::String &value)
TemplateSSMDocumentDetails & WithDocumentVersion(const Aws::String &value)
AWS_CONFIGSERVICE_API TemplateSSMDocumentDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
TemplateSSMDocumentDetails & WithDocumentVersion(const char *value)
TemplateSSMDocumentDetails & WithDocumentVersion(Aws::String &&value)
TemplateSSMDocumentDetails & WithDocumentName(Aws::String &&value)
TemplateSSMDocumentDetails & WithDocumentName(const char *value)
AWS_CONFIGSERVICE_API TemplateSSMDocumentDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue