AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RawString.h
1
6#pragma once
7#include <aws/codedeploy/CodeDeploy_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 CodeDeploy
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_CODEDEPLOY_API RawString();
37 AWS_CODEDEPLOY_API RawString(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CODEDEPLOY_API RawString& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CODEDEPLOY_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
48 inline const Aws::String& GetContent() const{ return m_content; }
49 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
50 inline void SetContent(const Aws::String& value) { m_contentHasBeenSet = true; m_content = value; }
51 inline void SetContent(Aws::String&& value) { m_contentHasBeenSet = true; m_content = std::move(value); }
52 inline void SetContent(const char* value) { m_contentHasBeenSet = true; m_content.assign(value); }
53 inline RawString& WithContent(const Aws::String& value) { SetContent(value); return *this;}
54 inline RawString& WithContent(Aws::String&& value) { SetContent(std::move(value)); return *this;}
55 inline RawString& WithContent(const char* value) { SetContent(value); return *this;}
57
59
62 inline const Aws::String& GetSha256() const{ return m_sha256; }
63 inline bool Sha256HasBeenSet() const { return m_sha256HasBeenSet; }
64 inline void SetSha256(const Aws::String& value) { m_sha256HasBeenSet = true; m_sha256 = value; }
65 inline void SetSha256(Aws::String&& value) { m_sha256HasBeenSet = true; m_sha256 = std::move(value); }
66 inline void SetSha256(const char* value) { m_sha256HasBeenSet = true; m_sha256.assign(value); }
67 inline RawString& WithSha256(const Aws::String& value) { SetSha256(value); return *this;}
68 inline RawString& WithSha256(Aws::String&& value) { SetSha256(std::move(value)); return *this;}
69 inline RawString& WithSha256(const char* value) { SetSha256(value); return *this;}
71 private:
72
73 Aws::String m_content;
74 bool m_contentHasBeenSet = false;
75
76 Aws::String m_sha256;
77 bool m_sha256HasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace CodeDeploy
82} // namespace Aws
const Aws::String & GetSha256() const
Definition RawString.h:62
void SetContent(const char *value)
Definition RawString.h:52
AWS_CODEDEPLOY_API RawString(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEDEPLOY_API RawString & operator=(Aws::Utils::Json::JsonView jsonValue)
RawString & WithContent(const char *value)
Definition RawString.h:55
AWS_CODEDEPLOY_API Aws::Utils::Json::JsonValue Jsonize() const
RawString & WithContent(const Aws::String &value)
Definition RawString.h:53
void SetSha256(const char *value)
Definition RawString.h:66
void SetContent(Aws::String &&value)
Definition RawString.h:51
void SetContent(const Aws::String &value)
Definition RawString.h:50
AWS_CODEDEPLOY_API RawString()
void SetSha256(Aws::String &&value)
Definition RawString.h:65
void SetSha256(const Aws::String &value)
Definition RawString.h:64
RawString & WithSha256(const char *value)
Definition RawString.h:69
const Aws::String & GetContent() const
Definition RawString.h:48
RawString & WithSha256(Aws::String &&value)
Definition RawString.h:68
RawString & WithSha256(const Aws::String &value)
Definition RawString.h:67
RawString & WithContent(Aws::String &&value)
Definition RawString.h:54
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue