AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UspsZip.h
1
6#pragma once
7#include <aws/geo-places/GeoPlaces_EXPORTS.h>
8#include <aws/geo-places/model/ZipClassificationCode.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 GeoPlaces
22{
23namespace Model
24{
25
31 class UspsZip
32 {
33 public:
34 AWS_GEOPLACES_API UspsZip();
35 AWS_GEOPLACES_API UspsZip(Aws::Utils::Json::JsonView jsonValue);
36 AWS_GEOPLACES_API UspsZip& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_GEOPLACES_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
45 inline const ZipClassificationCode& GetZipClassificationCode() const{ return m_zipClassificationCode; }
46 inline bool ZipClassificationCodeHasBeenSet() const { return m_zipClassificationCodeHasBeenSet; }
47 inline void SetZipClassificationCode(const ZipClassificationCode& value) { m_zipClassificationCodeHasBeenSet = true; m_zipClassificationCode = value; }
48 inline void SetZipClassificationCode(ZipClassificationCode&& value) { m_zipClassificationCodeHasBeenSet = true; m_zipClassificationCode = std::move(value); }
50 inline UspsZip& WithZipClassificationCode(ZipClassificationCode&& value) { SetZipClassificationCode(std::move(value)); return *this;}
52 private:
53
54 ZipClassificationCode m_zipClassificationCode;
55 bool m_zipClassificationCodeHasBeenSet = false;
56 };
57
58} // namespace Model
59} // namespace GeoPlaces
60} // namespace Aws
AWS_GEOPLACES_API UspsZip & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetZipClassificationCode(ZipClassificationCode &&value)
Definition UspsZip.h:48
AWS_GEOPLACES_API UspsZip()
UspsZip & WithZipClassificationCode(ZipClassificationCode &&value)
Definition UspsZip.h:50
AWS_GEOPLACES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GEOPLACES_API UspsZip(Aws::Utils::Json::JsonView jsonValue)
void SetZipClassificationCode(const ZipClassificationCode &value)
Definition UspsZip.h:47
bool ZipClassificationCodeHasBeenSet() const
Definition UspsZip.h:46
UspsZip & WithZipClassificationCode(const ZipClassificationCode &value)
Definition UspsZip.h:49
const ZipClassificationCode & GetZipClassificationCode() const
Definition UspsZip.h:45
Aws::Utils::Json::JsonValue JsonValue