AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
SidewalkAccountInfo.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iotwireless/IoTWireless_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace IoTWireless {
20namespace Model {
21
28 public:
29 AWS_IOTWIRELESS_API SidewalkAccountInfo() = default;
30 AWS_IOTWIRELESS_API SidewalkAccountInfo(Aws::Utils::Json::JsonView jsonValue);
32 AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetAmazonId() const { return m_amazonId; }
39 inline bool AmazonIdHasBeenSet() const { return m_amazonIdHasBeenSet; }
40 template <typename AmazonIdT = Aws::String>
41 void SetAmazonId(AmazonIdT&& value) {
42 m_amazonIdHasBeenSet = true;
43 m_amazonId = std::forward<AmazonIdT>(value);
44 }
45 template <typename AmazonIdT = Aws::String>
46 SidewalkAccountInfo& WithAmazonId(AmazonIdT&& value) {
47 SetAmazonId(std::forward<AmazonIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetAppServerPrivateKey() const { return m_appServerPrivateKey; }
57 inline bool AppServerPrivateKeyHasBeenSet() const { return m_appServerPrivateKeyHasBeenSet; }
58 template <typename AppServerPrivateKeyT = Aws::String>
59 void SetAppServerPrivateKey(AppServerPrivateKeyT&& value) {
60 m_appServerPrivateKeyHasBeenSet = true;
61 m_appServerPrivateKey = std::forward<AppServerPrivateKeyT>(value);
62 }
63 template <typename AppServerPrivateKeyT = Aws::String>
64 SidewalkAccountInfo& WithAppServerPrivateKey(AppServerPrivateKeyT&& value) {
65 SetAppServerPrivateKey(std::forward<AppServerPrivateKeyT>(value));
66 return *this;
67 }
69 private:
70 Aws::String m_amazonId;
71
72 Aws::String m_appServerPrivateKey;
73 bool m_amazonIdHasBeenSet = false;
74 bool m_appServerPrivateKeyHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace IoTWireless
79} // namespace Aws
AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const
SidewalkAccountInfo & WithAppServerPrivateKey(AppServerPrivateKeyT &&value)
void SetAppServerPrivateKey(AppServerPrivateKeyT &&value)
SidewalkAccountInfo & WithAmazonId(AmazonIdT &&value)
AWS_IOTWIRELESS_API SidewalkAccountInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTWIRELESS_API SidewalkAccountInfo()=default
AWS_IOTWIRELESS_API SidewalkAccountInfo(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue