AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
AppSpecContent.h
Go to the documentation of this file.
1
6#pragma once
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 CodeDeploy
22{
23namespace Model
24{
25
35 {
36 public:
41
42
54 inline const Aws::String& GetContent() const{ return m_content; }
55
67 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
68
80 inline void SetContent(const Aws::String& value) { m_contentHasBeenSet = true; m_content = value; }
81
93 inline void SetContent(Aws::String&& value) { m_contentHasBeenSet = true; m_content = std::move(value); }
94
106 inline void SetContent(const char* value) { m_contentHasBeenSet = true; m_content.assign(value); }
107
119 inline AppSpecContent& WithContent(const Aws::String& value) { SetContent(value); return *this;}
120
132 inline AppSpecContent& WithContent(Aws::String&& value) { SetContent(std::move(value)); return *this;}
133
145 inline AppSpecContent& WithContent(const char* value) { SetContent(value); return *this;}
146
147
151 inline const Aws::String& GetSha256() const{ return m_sha256; }
152
156 inline bool Sha256HasBeenSet() const { return m_sha256HasBeenSet; }
157
161 inline void SetSha256(const Aws::String& value) { m_sha256HasBeenSet = true; m_sha256 = value; }
162
166 inline void SetSha256(Aws::String&& value) { m_sha256HasBeenSet = true; m_sha256 = std::move(value); }
167
171 inline void SetSha256(const char* value) { m_sha256HasBeenSet = true; m_sha256.assign(value); }
172
176 inline AppSpecContent& WithSha256(const Aws::String& value) { SetSha256(value); return *this;}
177
181 inline AppSpecContent& WithSha256(Aws::String&& value) { SetSha256(std::move(value)); return *this;}
182
186 inline AppSpecContent& WithSha256(const char* value) { SetSha256(value); return *this;}
187
188 private:
189
190 Aws::String m_content;
191 bool m_contentHasBeenSet = false;
192
193 Aws::String m_sha256;
194 bool m_sha256HasBeenSet = false;
195 };
196
197} // namespace Model
198} // namespace CodeDeploy
199} // namespace Aws
#define AWS_CODEDEPLOY_API
AWS_CODEDEPLOY_API AppSpecContent(Aws::Utils::Json::JsonView jsonValue)
void SetSha256(Aws::String &&value)
AppSpecContent & WithSha256(const Aws::String &value)
void SetContent(const Aws::String &value)
AWS_CODEDEPLOY_API Aws::Utils::Json::JsonValue Jsonize() const
AppSpecContent & WithSha256(Aws::String &&value)
AppSpecContent & WithContent(const Aws::String &value)
AppSpecContent & WithContent(const char *value)
AWS_CODEDEPLOY_API AppSpecContent & operator=(Aws::Utils::Json::JsonView jsonValue)
AppSpecContent & WithSha256(const char *value)
void SetSha256(const Aws::String &value)
void SetContent(Aws::String &&value)
AppSpecContent & WithContent(Aws::String &&value)
const Aws::String & GetSha256() const
const Aws::String & GetContent() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String