AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FieldInfo.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
32 {
33 public:
34 AWS_CONFIGSERVICE_API FieldInfo();
35 AWS_CONFIGSERVICE_API FieldInfo(Aws::Utils::Json::JsonView jsonValue);
36 AWS_CONFIGSERVICE_API FieldInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetName() const{ return m_name; }
45 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
46 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
47 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
48 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
49 inline FieldInfo& WithName(const Aws::String& value) { SetName(value); return *this;}
50 inline FieldInfo& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
51 inline FieldInfo& WithName(const char* value) { SetName(value); return *this;}
53 private:
54
55 Aws::String m_name;
56 bool m_nameHasBeenSet = false;
57 };
58
59} // namespace Model
60} // namespace ConfigService
61} // namespace Aws
AWS_CONFIGSERVICE_API FieldInfo(Aws::Utils::Json::JsonView jsonValue)
void SetName(Aws::String &&value)
Definition FieldInfo.h:47
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(const char *value)
Definition FieldInfo.h:48
AWS_CONFIGSERVICE_API FieldInfo()
FieldInfo & WithName(const char *value)
Definition FieldInfo.h:51
FieldInfo & WithName(Aws::String &&value)
Definition FieldInfo.h:50
void SetName(const Aws::String &value)
Definition FieldInfo.h:46
const Aws::String & GetName() const
Definition FieldInfo.h:44
AWS_CONFIGSERVICE_API FieldInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
FieldInfo & WithName(const Aws::String &value)
Definition FieldInfo.h:49
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue