AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LineItemAssetInformation.h
1
6#pragma once
7#include <aws/outposts/Outposts_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Outposts
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_OUTPOSTS_API LineItemAssetInformation();
38 AWS_OUTPOSTS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetAssetId() const{ return m_assetId; }
46 inline bool AssetIdHasBeenSet() const { return m_assetIdHasBeenSet; }
47 inline void SetAssetId(const Aws::String& value) { m_assetIdHasBeenSet = true; m_assetId = value; }
48 inline void SetAssetId(Aws::String&& value) { m_assetIdHasBeenSet = true; m_assetId = std::move(value); }
49 inline void SetAssetId(const char* value) { m_assetIdHasBeenSet = true; m_assetId.assign(value); }
50 inline LineItemAssetInformation& WithAssetId(const Aws::String& value) { SetAssetId(value); return *this;}
51 inline LineItemAssetInformation& WithAssetId(Aws::String&& value) { SetAssetId(std::move(value)); return *this;}
52 inline LineItemAssetInformation& WithAssetId(const char* value) { SetAssetId(value); return *this;}
54
56
59 inline const Aws::Vector<Aws::String>& GetMacAddressList() const{ return m_macAddressList; }
60 inline bool MacAddressListHasBeenSet() const { return m_macAddressListHasBeenSet; }
61 inline void SetMacAddressList(const Aws::Vector<Aws::String>& value) { m_macAddressListHasBeenSet = true; m_macAddressList = value; }
62 inline void SetMacAddressList(Aws::Vector<Aws::String>&& value) { m_macAddressListHasBeenSet = true; m_macAddressList = std::move(value); }
65 inline LineItemAssetInformation& AddMacAddressList(const Aws::String& value) { m_macAddressListHasBeenSet = true; m_macAddressList.push_back(value); return *this; }
66 inline LineItemAssetInformation& AddMacAddressList(Aws::String&& value) { m_macAddressListHasBeenSet = true; m_macAddressList.push_back(std::move(value)); return *this; }
67 inline LineItemAssetInformation& AddMacAddressList(const char* value) { m_macAddressListHasBeenSet = true; m_macAddressList.push_back(value); return *this; }
69 private:
70
71 Aws::String m_assetId;
72 bool m_assetIdHasBeenSet = false;
73
74 Aws::Vector<Aws::String> m_macAddressList;
75 bool m_macAddressListHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace Outposts
80} // namespace Aws
AWS_OUTPOSTS_API LineItemAssetInformation(Aws::Utils::Json::JsonView jsonValue)
LineItemAssetInformation & WithAssetId(const Aws::String &value)
void SetMacAddressList(Aws::Vector< Aws::String > &&value)
LineItemAssetInformation & AddMacAddressList(const char *value)
LineItemAssetInformation & AddMacAddressList(Aws::String &&value)
AWS_OUTPOSTS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMacAddressList(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetMacAddressList() const
LineItemAssetInformation & WithAssetId(Aws::String &&value)
LineItemAssetInformation & WithMacAddressList(Aws::Vector< Aws::String > &&value)
LineItemAssetInformation & AddMacAddressList(const Aws::String &value)
LineItemAssetInformation & WithMacAddressList(const Aws::Vector< Aws::String > &value)
LineItemAssetInformation & WithAssetId(const char *value)
AWS_OUTPOSTS_API LineItemAssetInformation & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue